chg: Change uid to UID

This commit is contained in:
SinTan1729 2024-03-31 00:51:32 -05:00
parent 841f877ee8
commit 599b013fc9
No known key found for this signature in database
GPG Key ID: EB3E68BFBA25C85F

View File

@ -99,7 +99,7 @@ fn gen_link(style: String, len: usize) -> String {
static CHARS: [char; 36] = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x',
'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
if style == "uid" {
if style == "UID" {
nanoid!(len, &CHARS)
} else {
format!(