Skip to content

Commit 19defa7

Browse files
committed
this should not have been a const
1 parent 6f5e88d commit 19defa7

File tree

1 file changed

+1
-1
lines changed
  • MyMusicClientSveltePwa/src/lib/scripts

1 file changed

+1
-1
lines changed

MyMusicClientSveltePwa/src/lib/scripts/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export async function updateStores() {
6969
console.log("starting to update songs for each playlist");
7070
for (const playlist of playlistsArray) {
7171

72-
const lastKnowSongPosition = playlistsSongsMap.get(playlist.id).length;
72+
let lastKnowSongPosition = playlistsSongsMap.get(playlist.id).length;
7373

7474
if (!lastKnowSongPosition) {
7575
lastKnowSongPosition = 0; // Default to 0 if no songs are found

0 commit comments

Comments
 (0)