Skip to content

Commit

Permalink
Use available user_id
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Mar 8, 2024
1 parent 6863a87 commit 316bef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/logins.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def continue_oauth_flow(

worker.send_email.send(
EmailInfo(
message_id=f"{login.user.id}/login/{datetime.now().isoformat()}",
message_id=f"{account.user}/login/{datetime.now().isoformat()}",
user_id=account.user,
category=EmailCategory.SECURITY_LOGIN,
subject="New login to Flathub account",
Expand Down

0 comments on commit 316bef3

Please sign in to comment.