Skip to content

Commit

Permalink
ignore error code 0 from savePlayQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
tamland committed Oct 21, 2024
1 parent 7ab0225 commit d6551d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export class API {
await this.fetch('rest/savePlayQueue', params)
} catch (err: any) {
// ignore missing required parameter error
if (err.code === 10) {
if (err.code === 0 || err.code === 10) {
return
}
throw err
Expand Down

0 comments on commit d6551d1

Please sign in to comment.