Fix clippy issue.

This commit is contained in:
Kavin 2023-11-20 08:05:47 +00:00
parent 0a6feb88ae
commit dfe87e0292
No known key found for this signature in database
GPG key ID: 6E4598CA5C92C41F

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 {