Fix clippy issue.

This commit is contained in:
Kavin
2023-11-20 08:05:47 +00:00
parent 0a6feb88ae
commit dfe87e0292
+2 -2
View File
@@ -178,8 +178,8 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
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 {