[Plugin] balance: Do not provide default values for frontend, split this to the frontend project
This commit is contained in:
parent
69ec4472c3
commit
bdbb2d3e45
|
@ -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/<userid>/balance/limit", methods=["GET"])
|
||||
|
|
Loading…
Reference in New Issue