Skip to content

Commit

Permalink
Fix adding series files in renamer (#981)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmohan authored Aug 14, 2024
1 parent c53b225 commit c3750ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Utilities/Renamer/AddFilesSeriesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const addSeriesFiles = (seriesId: number) => {
queryClient.fetchQuery<ListResultType<FileType>>(
{
queryKey: ['series', seriesId, 'files'],
queryFn: () => axios.get(`Series/${seriesId}/File`),
queryFn: () => axios.get(`Series/${seriesId}/File`, { params: { pageSize: 0 } }),
},
)
.then(result => store.dispatch(addFiles(result.List)))
Expand Down

0 comments on commit c3750ad

Please sign in to comment.