diff --git a/actix/src/utils.rs b/actix/src/utils.rs index 9236f10..af7c334 100644 --- a/actix/src/utils.rs +++ b/actix/src/utils.rs @@ -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!(