mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Fix request variable not found
This commit is contained in:
parent
69ede80892
commit
fdb3749d90
@ -226,9 +226,9 @@ def create_unauthenticated_user():
|
||||
return jsonify(status=status)
|
||||
else:
|
||||
status = {'banned': True}
|
||||
request = jsonify(status=status)
|
||||
request.status_code = 403
|
||||
return request
|
||||
response = jsonify(status=status)
|
||||
response.status_code = 403
|
||||
return response
|
||||
|
||||
@api.route("/query_guild", methods=["GET"])
|
||||
@valid_session_required(api=True)
|
||||
|
Loading…
Reference in New Issue
Block a user