From c3750ad2d585743e5cfaf95cd2da8a2dff541fb8 Mon Sep 17 00:00:00 2001 From: Harshith Mohan <26010946+harshithmohan@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:20:42 +0530 Subject: [PATCH] Fix adding series files in renamer (#981) --- src/components/Utilities/Renamer/AddFilesSeriesList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Utilities/Renamer/AddFilesSeriesList.tsx b/src/components/Utilities/Renamer/AddFilesSeriesList.tsx index 93df74904..279d86fa0 100644 --- a/src/components/Utilities/Renamer/AddFilesSeriesList.tsx +++ b/src/components/Utilities/Renamer/AddFilesSeriesList.tsx @@ -26,7 +26,7 @@ const addSeriesFiles = (seriesId: number) => { queryClient.fetchQuery>( { 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)))