Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
homeworkprod committed Aug 15, 2019
1 parent f4f8191 commit bc85774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byceps/services/verification_token/service.py
Expand Up @@ -78,7 +78,7 @@ def find_for_password_reset_by_token(token_value: str) -> Token:

def find_for_terms_consent_by_token(token_value: str) -> Token:
purpose = Purpose.terms_consent
return _find_for_purpose_by_token(token, purpose)
return _find_for_purpose_by_token(token_value, purpose)


def find_for_terms_consent_by_user(user_id: UserID) -> Optional[Token]:
Expand Down

0 comments on commit bc85774

Please sign in to comment.