refactor: cargo clippy

This commit is contained in:
Radical 2025-05-19 15:13:52 +02:00
parent 771cf72889
commit c21762ac7e
5 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ use super::Response;
pub async fn res(req: HttpRequest, data: web::Data<Data>) -> Result<HttpResponse, Error> {
let recv_refresh_token_cookie = req.cookie("refresh_token");
if let None = recv_refresh_token_cookie {
if recv_refresh_token_cookie.is_none() {
return Ok(HttpResponse::Unauthorized().finish())
}