Skip to content

Commit

Permalink
Move client to new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
catalin-oancea committed Dec 24, 2024
1 parent 7f84c87 commit b35c4c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/src/containers/my-projects/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ const ActionsDropdown = ({
async (id: string): Promise<boolean> => {
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;
Expand Down

0 comments on commit b35c4c1

Please sign in to comment.