Skip to content

Commit

Permalink
fix: token wrong position
Browse files Browse the repository at this point in the history
  • Loading branch information
GareArc committed Dec 21, 2024
1 parent 417716d commit 2fe742f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/services/account_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ def generate_account_deletion_verification_code(account: Account) -> tuple[str,
token = TokenManager.generate_token(
account=account, token_type="account_deletion", additional_data={"code": code}
)
return code, token
logging.info(f"Account {account.id} generated account deletion verification code {code} with token {token}")
return token, code

@classmethod
def send_account_deletion_verification_email(cls, account: Account, code: str):
Expand Down

0 comments on commit 2fe742f

Please sign in to comment.