Browse Source

Fix artist favorite status return (jellyfin)

master
jeffvli 3 years ago
parent
commit
8853a74d32
  1. 4
      src/api/jellyfinApi.ts

4
src/api/jellyfinApi.ts

@ -539,6 +539,7 @@ export const getArtists = async (options: { musicFolderId?: string }) => {
recursive: true,
sortBy: 'SortName',
sortOrder: 'Ascending',
userId: auth.username,
parentId: options.musicFolderId,
},
});
@ -804,6 +805,9 @@ export const getSearch = async (options: {
startIndex: options.artistOffset,
parentId: options.musicFolderId,
searchTerm: options.query,
imageTypeLimit: 1,
recursive: true,
userId: auth.username,
},
})
)?.data;

Loading…
Cancel
Save