update footer and allow 32 char shortcode
This commit is contained in:
parent
6ebaba50d1
commit
5e83c1218b
3 changed files with 2 additions and 3 deletions
|
@ -182,7 +182,7 @@ fn generate_short_code() -> String {
|
|||
use uuid::Uuid;
|
||||
|
||||
let uuid = Uuid::new_v4();
|
||||
encode(uuid.as_u128() as u64).chars().take(8).collect()
|
||||
encode(uuid.as_u128() as u64).chars().take(32).collect()
|
||||
}
|
||||
|
||||
pub async fn register(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue