forked from gorb/backend
style: cargo clippy && cargo fmt
This commit is contained in:
parent
c9a3e8c6c4
commit
d615f1392e
31 changed files with 288 additions and 181 deletions
|
@ -61,8 +61,6 @@ pub async fn res(req: HttpRequest, data: web::Data<Data>) -> Result<HttpResponse
|
|||
if lifetime > 1987200 {
|
||||
let new_refresh_token = generate_refresh_token()?;
|
||||
|
||||
let new_refresh_token = new_refresh_token;
|
||||
|
||||
match update(refresh_tokens::table)
|
||||
.filter(rdsl::token.eq(&refresh_token))
|
||||
.set((
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue