mirror of
https://github.com/jeffvli/sonixd.git
synced 2026-04-29 10:42:40 -04:00
Fix unstar on album page (jellyfin)
This commit is contained in:
@@ -168,7 +168,7 @@ const AlbumView = ({ ...rest }: any) => {
|
||||
await apiController({
|
||||
serverType: config.serverType,
|
||||
endpoint: 'unstar',
|
||||
args: config.serverType === Server.Subsonic ? { id: data.id, type: 'album' } : null,
|
||||
args: { id: data.id, type: 'album' },
|
||||
});
|
||||
queryClient.setQueryData(['album', id], { ...data, starred: undefined });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user