From 8a25c9767e78f7c18701ff5338b7bac6c09f7e90 Mon Sep 17 00:00:00 2001 From: Bootsy Date: Wed, 26 Sep 2018 21:48:51 +0000 Subject: [PATCH] fix script error that would happen randomly --- litecord/blueprints/users.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litecord/blueprints/users.py b/litecord/blueprints/users.py index 2eca969..5d1c78c 100644 --- a/litecord/blueprints/users.py +++ b/litecord/blueprints/users.py @@ -193,6 +193,10 @@ async def get_harvest(): """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""" + return jsonify([]) @bp.route('/@me/library', methods=['GET']) async def get_library():