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)
|
return jsonify(status=status)
|
||||||
else:
|
else:
|
||||||
status = {'banned': True}
|
status = {'banned': True}
|
||||||
request = jsonify(status=status)
|
response = jsonify(status=status)
|
||||||
request.status_code = 403
|
response.status_code = 403
|
||||||
return request
|
return response
|
||||||
|
|
||||||
@api.route("/query_guild", methods=["GET"])
|
@api.route("/query_guild", methods=["GET"])
|
||||||
@valid_session_required(api=True)
|
@valid_session_required(api=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user