From b35c4c16a458d3f7d4b6b832fe955caa43252d46 Mon Sep 17 00:00:00 2001 From: Catalin Oancea Date: Tue, 24 Dec 2024 21:01:44 +0100 Subject: [PATCH] Move client to new endpoint --- client/src/containers/my-projects/columns.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/client/src/containers/my-projects/columns.tsx b/client/src/containers/my-projects/columns.tsx index c4029779..290c1086 100644 --- a/client/src/containers/my-projects/columns.tsx +++ b/client/src/containers/my-projects/columns.tsx @@ -49,13 +49,11 @@ const ActionsDropdown = ({ async (id: string): Promise => { try { const { status } = - await client.customProjects.deleteCustomProject.mutation({ - params: { - id, - }, + await client.customProjects.deleteCustomProjects.mutation({ extraHeaders: { ...getAuthHeader(session?.accessToken as string), }, + body: { ids: [id] }, }); return status === 200;