Skip to content

Commit

Permalink
[web] Fix temporarily the bug #1688
Browse files Browse the repository at this point in the history
  • Loading branch information
hacketiwack committed Nov 23, 2023
1 parent 7d9b5dd commit dae6d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web-src/src/webapi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,9 @@ export default {
},

library_track(trackId) {
return axios.get(`./api/library/tracks/${trackId}`)
if (trackId) { // Temporary fix
return axios.get(`./api/library/tracks/${trackId}`)
}
},

library_track_playlists(trackId) {
Expand Down

0 comments on commit dae6d1e

Please sign in to comment.