diff --git a/src/components/library/AlbumView.tsx b/src/components/library/AlbumView.tsx index 22560a2..1f35b31 100644 --- a/src/components/library/AlbumView.tsx +++ b/src/components/library/AlbumView.tsx @@ -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 }); }