From 7dd6482af526a86e61dc0ea3fde59082c3b46878 Mon Sep 17 00:00:00 2001 From: p23 Date: Sun, 17 Nov 2024 18:54:02 +0000 Subject: [PATCH] Energy Synergy Matrix --- blueprints/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprints/admin.py b/blueprints/admin.py index 4fb23f2..05c28ad 100644 --- a/blueprints/admin.py +++ b/blueprints/admin.py @@ -202,7 +202,7 @@ def user_del(id:int): def setting_get(): return jsonify(setting_loader.loadset()), 200 -@admin.route("setting/edit", methods=["POST"]) +@admin.route("setting/set", methods=["POST"]) @role_required(["setting.edit"]) def setting_edit(): req = request.json