From bdbb2d3e45f77f01efb8219b386c8e1bfd43b809 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 21 Jan 2021 14:08:45 +0100 Subject: [PATCH] [Plugin] balance: Do not provide default values for frontend, split this to the frontend project --- flaschengeist/plugins/balance/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaschengeist/plugins/balance/__init__.py b/flaschengeist/plugins/balance/__init__.py index 26127e0..e56e372 100644 --- a/flaschengeist/plugins/balance/__init__.py +++ b/flaschengeist/plugins/balance/__init__.py @@ -57,7 +57,7 @@ def get_shortcuts(userid, current_session: Session): raise Forbidden user = userController.get_user(userid) - return jsonify(user.get_attribute("balance_shortcuts", [-2, -1, -0.5])) + return jsonify(user.get_attribute("balance_shortcuts", [])) @balance_bp.route("/users//balance/limit", methods=["GET"])