mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 22:17:03 +01:00
Deprecate server members endpoint
This commit is contained in:
parent
cba4014bde
commit
af00b66687
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user