mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +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()
|
@abort_if_guild_disabled()
|
||||||
@valid_session_required(api=True)
|
@valid_session_required(api=True)
|
||||||
def server_members():
|
def server_members():
|
||||||
|
abort(404)
|
||||||
guild_id = request.args.get("guild_id", None)
|
guild_id = request.args.get("guild_id", None)
|
||||||
if not check_guild_existance(guild_id):
|
if not check_guild_existance(guild_id):
|
||||||
abort(404)
|
abort(404)
|
||||||
@ -534,6 +535,7 @@ def server_members():
|
|||||||
@api.route("/server_members_visitor", methods=["GET"])
|
@api.route("/server_members_visitor", methods=["GET"])
|
||||||
@abort_if_guild_disabled()
|
@abort_if_guild_disabled()
|
||||||
def server_members_visitor():
|
def server_members_visitor():
|
||||||
|
abort(404)
|
||||||
guild_id = request.args.get("guild_id", None)
|
guild_id = request.args.get("guild_id", None)
|
||||||
if not check_guild_existance(guild_id):
|
if not check_guild_existance(guild_id):
|
||||||
abort(404)
|
abort(404)
|
||||||
|
Loading…
Reference in New Issue
Block a user