Removed the albumSong workaround, as React-Admin's cache seems to behave better now

This commit is contained in:
Deluan
2021-06-15 11:31:41 -04:00
parent 667701be02
commit 8a56584aed
7 changed files with 7 additions and 15 deletions

View File

@@ -6,9 +6,6 @@ const dataProvider = jsonServerProvider(REST_URL, httpClient)
const mapResource = (resource, params) => {
switch (resource) {
case 'albumSong':
return ['song', params]
case 'playlistTrack':
// /api/playlistTrack?playlist_id=123 => /api/playlist/123/tracks
let plsId = '0'