Deprecate server members endpoint

This commit is contained in:
Jeremy Zhang 2020-11-30 05:22:47 -08:00
parent cba4014bde
commit af00b66687

View File

@ -523,6 +523,7 @@ def query_guild_visitor():
@abort_if_guild_disabled()
@valid_session_required(api=True)
def server_members():
abort(404)
guild_id = request.args.get("guild_id", None)
if not check_guild_existance(guild_id):
abort(404)
@ -534,6 +535,7 @@ def server_members():
@api.route("/server_members_visitor", methods=["GET"])
@abort_if_guild_disabled()
def server_members_visitor():
abort(404)
guild_id = request.args.get("guild_id", None)
if not check_guild_existance(guild_id):
abort(404)