Skip to content

Commit

Permalink
chore: update placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
dodumosu committed Oct 23, 2024
1 parent af34460 commit bf00794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo/participants/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _process_2fa_login(participant: Participant):
result = _generate_or_retrieve_otp(key)
if result:
response = jsonify({"status": "ok", "data": {"uid": str(participant.uuid), "twoFactor": True}})
message = gettext("Your Apollo verification code is: %(code)s", code=result)
message = gettext("Your Apollo verification code is: %(totp_code)s", totp_code=result)
send_message.delay(g.event.id, message, participant.primary_phone)
return response
else:
Expand Down

0 comments on commit bf00794

Please sign in to comment.