mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
modify last updated date of a playlist on track added
This commit is contained in:
@@ -97,6 +97,7 @@ def add_track_to_playlist(playlist_id: str):
|
||||
return {"error": "Track already exists in playlist"}, 409
|
||||
|
||||
add_artist_to_playlist(int(playlist_id), trackhash)
|
||||
PL.update_last_updated(playlist_id)
|
||||
|
||||
return {"msg": "Done"}, 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user