Commit 5bf85366 authored by Lukáš Lalinský's avatar Lukáš Lalinský

Fix redirect after toggle_track_mbid

parent d6556325
Pipeline #20583 passed with stages
in 4 minutes and 2 seconds
......@@ -203,7 +203,7 @@ def toggle_track_mbid():
disabled=state, note=note)
ingest_db.execute(insert_stmt)
db.session.commit()
return redirect(url_for('.track', track_id=track_id))
return redirect(url_for('.track', track_id_or_gid=track_id))
if state:
title = 'Unlink MBID'
else:
......
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