Skip to content

Commit

Permalink
Fix Mark Filtered As Watched/Unwatched (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Mar 11, 2024
1 parent 8fb59e1 commit 0eea351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/react-query/series/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const useRescanSeriesFilesMutation = () =>
export const useWatchSeriesEpisodesMutation = () =>
useMutation({
mutationFn: ({ seriesId, ...params }: WatchSeriesEpisodesRequestType) =>
axios.post(`Series/${seriesId}/Episode/Watched`, params),
axios.post(`Series/${seriesId}/Episode/Watched`, null, { params }),
onSuccess: () => {
invalidateQueries(['series', 'single']);
invalidateQueries(['series', 'episodes']);
Expand Down

0 comments on commit 0eea351

Please sign in to comment.