Fix favorite mutation

This commit is contained in:
jeffvli 2023-05-13 22:54:24 -07:00
parent 8d5c82b0c6
commit cef92243f5
5 changed files with 123 additions and 59 deletions

View file

@ -271,6 +271,7 @@ export const AlbumArtistDetailContent = () => {
id: [detailQuery.data.id],
type: LibraryItem.ALBUM_ARTIST,
},
serverId: detailQuery.data.serverId,
});
} else {
createFavoriteMutation.mutate({
@ -278,6 +279,7 @@ export const AlbumArtistDetailContent = () => {
id: [detailQuery.data.id],
type: LibraryItem.ALBUM_ARTIST,
},
serverId: detailQuery.data.serverId,
});
}
};