feat: added test

This commit is contained in:
=
2025-09-16 00:08:41 +05:30
parent ac80242749
commit 626774a967
6 changed files with 846 additions and 6 deletions
@@ -258,9 +258,9 @@ export const useUpdateFolderBatch = () => {
const queryClient = useQueryClient();
return useMutation<object, object, TUpdateFolderBatchDTO>({
mutationFn: async ({ projectSlug, folders }) => {
mutationFn: async ({ projectId, folders }) => {
const { data } = await apiRequest.patch("/api/v2/folders/batch", {
projectSlug,
projectId,
folders
});
@@ -450,9 +450,8 @@ export const OverviewPage = () => {
try {
await updateFolderBatch({
projectSlug,
folders: updatedFolders,
projectId: projectId
projectId
});
createNotification({
type: "success",