Energy Synergy Matrix

This commit is contained in:
p23 2024-11-17 18:54:02 +00:00
parent ada10f3851
commit 7dd6482af5

View File

@ -202,7 +202,7 @@ def user_del(id:int):
def setting_get(): def setting_get():
return jsonify(setting_loader.loadset()), 200 return jsonify(setting_loader.loadset()), 200
@admin.route("setting/edit", methods=["POST"]) @admin.route("setting/set", methods=["POST"])
@role_required(["setting.edit"]) @role_required(["setting.edit"])
def setting_edit(): def setting_edit():
req = request.json req = request.json