refactor: cargo clippy
This commit is contained in:
parent
771cf72889
commit
c21762ac7e
5 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ pub async fn check_access_token(
|
|||
) -> Result<Uuid, HttpResponse> {
|
||||
let row =
|
||||
sqlx::query_as("SELECT CAST(uuid as VARCHAR), created_at FROM access_tokens WHERE token = $1")
|
||||
.bind(&access_token)
|
||||
.bind(access_token)
|
||||
.fetch_one(pool)
|
||||
.await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue