Skip to content

Commit 4cea6d7

Browse files
committed
Remove hardcoded values for testing from populate_user
1 parent 6e8839e commit 4cea6d7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

backend/src/controllers/database.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ def populate_user():
3434
)
3535

3636
for simplified_playlist in simplified_playlists:
37-
if (
38-
"Albums" in simplified_playlist.name
39-
and "New Albums 06/09/24" in simplified_playlist.name
40-
):
41-
delete_playlist("0ubqg4akSDebHReJIG8sbd")
37+
if "Albums" in simplified_playlist.name:
4238
db_playlist = get_playlist_by_id_or_none(simplified_playlist.id)
4339
if (
4440
db_playlist is None

0 commit comments

Comments
 (0)