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