Cleanup logs and make playlists public by default

This commit is contained in:
Bill Thornton
2024-05-06 03:10:52 -04:00
parent 6c226ba59f
commit bae48c4023
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -128,8 +128,9 @@ function showContextMenu(card, options = {}) {
userId: apiClient.getCurrentUserId()
})
.then(({ data }) => data)
.catch(() => {
.catch(err => {
// If a user doesn't have access, then the request will 404 and throw
console.info('[Shortcuts] Failed to fetch playlist permissions', err);
return { CanEdit: false };
}) :
// Not a playlist item