Documentation, screenshots and a couple of tweaks (#142)

* Documentation, screenshots and a couple of tweaks

* Changelog

* changelog
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-09-10 14:44:48 -04:00
1 parent bea7fb209b
commit 0bcf361eb0
27 files changed
+642 -102

No files matched your search

+5 -5
View File
@@ -43,7 +43,7 @@ async function importInvidiousProfile(invidiousInstance, token, profile) {
},
method: "POST",
body: JSON.stringify(piece.profile)
})
})
}
}
@@ -298,7 +298,7 @@ async function deleteAccessToken(invidiousInstance, token) {
const playlist = playlists[i];
try {
profile.playlists.push(await generatePlaylist(playlist.url, playlist.title, browser, playlistLimit))
playlistsToDelete.push(playlist.title)
playlistsToDelete.push(playlist.title)
} catch (error) {
console.log(error)
}
@@ -316,11 +316,11 @@ async function deleteAccessToken(invidiousInstance, token) {
throw new Error(`Could not connect to Playlet at ${PLAYLEY_SERVER}\n${error}`)
}
}
token = await getAccessToken(invidiousInstance)
await deletePlaylists(invidiousInstance, token, playlistsToDelete)
await importInvidiousProfile(invidiousInstance, token, profile);
await importInvidiousProfile(invidiousInstance, token, profile);
}
}