Commit fdee7826 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:bui/taiko-web

parents 60d6f054 d98b2d96
...@@ -261,7 +261,7 @@ def route_admin_songs_new_post(): ...@@ -261,7 +261,7 @@ def route_admin_songs_new_post():
@app.route('/admin/songs/<int:id>', methods=['POST']) @app.route('/admin/songs/<int:id>', methods=['POST'])
@admin_required(level=100) @admin_required(level=50)
def route_admin_songs_id_post(id): def route_admin_songs_id_post(id):
song = db.songs.find_one({'id': id}) song = db.songs.find_one({'id': id})
if not song: if not song:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment