add base update unauthenticated user

add base update unauthenticated user
This commit is contained in:
JustMaffie 2017-05-27 22:37:18 +02:00 committed by GitHub
parent 9661a7cbce
commit b68cd17b91

View File

@ -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)