Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Nov 18, 2019
1 parent adad588 commit 669cd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piccolo_api/token_auth/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async def get_token(self, username: str, password: str) -> t.Optional[str]:
user = await BaseUser.login(username=username, password=password)
if user:
return (
TokenAuth.select(TokenAuth.token)
await TokenAuth.select(TokenAuth.token)
.first()
.where(TokenAuth.user == user)
)
Expand Down

0 comments on commit 669cd61

Please sign in to comment.