We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 815d53f commit a6c7f8aCopy full SHA for a6c7f8a
tahrir/endpoints/admin/authorizations.py
@@ -22,7 +22,7 @@ def add_authorization():
22
return abort(400, f"No detail provided for {field!r}")
23
24
badge_id = data.get(required_fields[0])
25
- authorized = data.get(required_fields[1])
+ username = data.get(required_fields[1])
26
27
# ONE SHOULD NOT FEEL THE NEED OF USING THE EMAIL ADDRESS HERE
28
# THIS WORKAROUND IS TEMPORARY AND TAHRIR-API WOULD BE CHANGED TO ACCEPT JUST USERNAME
0 commit comments