Energy Synergy Matrix
This commit is contained in:
parent
ada10f3851
commit
7dd6482af5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user