mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Fix clippy issue.
This commit is contained in:
parent
0a6feb88ae
commit
dfe87e0292
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ async fn index(req: HttpRequest) -> Result<HttpResponse, Box<dyn Error>> {
|
||||||
hasher.update(secret.as_bytes());
|
hasher.update(secret.as_bytes());
|
||||||
|
|
||||||
let hash = hasher.finalize().to_hex();
|
let hash = hasher.finalize().to_hex();
|
||||||
let hash = hash[..8].to_owned();
|
|
||||||
hash
|
hash[..8].to_owned()
|
||||||
}).await.unwrap();
|
}).await.unwrap();
|
||||||
|
|
||||||
if hash != qhash {
|
if hash != qhash {
|
||||||
|
|
Loading…
Reference in a new issue