fix trailing whitespace in main.rs

This commit is contained in:
Slavasil 2025-05-04 10:35:16 +03:00
parent c8ede5ee6b
commit a06099710f

View File

@ -56,7 +56,7 @@ async fn create(state: &State<Mutex<GlobalState>>, url: &str, secret: Option<&st
if actual_len < 1 || actual_len > 64 { if actual_len < 1 || actual_len > 64 {
return (Status::BadRequest, "invalid length".to_owned()); return (Status::BadRequest, "invalid length".to_owned());
} }
loop { loop {
let link_id = if !custom_link { let link_id = if !custom_link {
linkgen::generate_link_id(actual_len) linkgen::generate_link_id(actual_len)