diff --git a/src/main.rs b/src/main.rs index 7ab9180..1cdd3e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -178,8 +178,8 @@ async fn index(req: HttpRequest) -> Result> { hasher.update(secret.as_bytes()); let hash = hasher.finalize().to_hex(); - let hash = hash[..8].to_owned(); - hash + + hash[..8].to_owned() }).await.unwrap(); if hash != qhash {