From 008bfbe4186eb333c617caaa06fe139bd1fee44f Mon Sep 17 00:00:00 2001 From: Bui Date: Mon, 6 Apr 2020 06:36:08 +0100 Subject: [PATCH] fix admin level for song edit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 903a9dc..be2802b 100644 --- a/app.py +++ b/app.py @@ -253,7 +253,7 @@ def route_admin_songs_new_post(): @app.route('/admin/songs/', methods=['POST']) -@admin_required(level=100) +@admin_required(level=50) def route_admin_songs_id_post(id): song = db.songs.find_one({'id': id}) if not song: