mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-27 07:27:03 +01:00
Merge pull request #1 from JustMaffie/patch-1
add base update unauthenticated user
This commit is contained in:
commit
20f5a94cd8
@ -373,6 +373,11 @@ def create_unauthenticated_user():
|
||||
response = jsonify(status=status)
|
||||
response.status_code = 403
|
||||
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"])
|
||||
@valid_session_required(api=True)
|
||||
|
Loading…
Reference in New Issue
Block a user