mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +01:00
add base update unauthenticated user
add base update unauthenticated user
This commit is contained in:
parent
9661a7cbce
commit
b68cd17b91
@ -373,6 +373,11 @@ def create_unauthenticated_user():
|
|||||||
response = jsonify(status=status)
|
response = jsonify(status=status)
|
||||||
response.status_code = 403
|
response.status_code = 403
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
@api.route("/update_unauthenticated_user", methods=["POST"])
|
||||||
|
@rate_limiter.limit("1 per 15 minute", key_func=guild_ratelimit_key)
|
||||||
|
def update_unauthenticated_user():
|
||||||
|
# todo: update user
|
||||||
|
|
||||||
@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