mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-12-06 19:16:48 +01:00
Fix clippy issue.
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user