spacing
This commit is contained in:
parent
ba2594b84c
commit
813745b0cc
@ -210,9 +210,7 @@ pub async fn refresh_auth_token(request: HttpRequest, user_id: web::Path<i32>, d
|
||||
None => {
|
||||
message_resources.push(MessageResourceDto::new_from_error_message(ERROR_INCORRECT_TOKEN));
|
||||
return HttpResponse::Unauthorized().json(web::Json(message_resources));
|
||||
}
|
||||
}
|
||||
},
|
||||
}}},
|
||||
Err(err) if matches!(err, sqlx::Error::RowNotFound) => {
|
||||
return HttpResponse::NotFound().json(web::Json(message_resources));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user