From d3cf67c660207f7e33f18067a0a4b32596faf321 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Wed, 10 Jun 2020 23:27:36 +1200 Subject: [PATCH] Add no-op /users/@me/devices, used by Android --- litecord/blueprints/users.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/litecord/blueprints/users.py b/litecord/blueprints/users.py index 9223c61..5c3b1d1 100644 --- a/litecord/blueprints/users.py +++ b/litecord/blueprints/users.py @@ -320,6 +320,12 @@ async def get_harvest(): return "", 204 +@bp.route("/@me/devices", methods=["POST"]) +async def post_devices(): + """Dummy route""" + return "", 204 + + @bp.route("/@me/activities/statistics/applications", methods=["GET"]) async def get_stats_applications(): """Dummy route for info on gameplay time and such"""