Skip to content

Commit

Permalink
Fix missing table name in function users.tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ferbncode authored and gentlecat committed Jun 26, 2017
1 parent 1512d18 commit 443a02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion critiquebrainz/db/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def tokens(user_id):
FROM oauth_token
JOIN oauth_client
ON oauth_token.client_id = oauth_client.client_id
WHERE user_id = :user_id
WHERE oauth_token.user_id = :user_id
"""), {
"user_id": user_id
})
Expand Down

0 comments on commit 443a02c

Please sign in to comment.