Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-tex committed Mar 9, 2022
1 parent 0256b39 commit a713328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func apiKeyFromRequest(r *http.Request) (database.APIKey, error) {
if err != nil {
return "", err
}
return ak, nil
return *ak, nil
}

// tokenFromRequest extracts the JWT token from the request and returns it.
Expand Down

0 comments on commit a713328

Please sign in to comment.