We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c5368c commit 9133683Copy full SHA for 9133683
frontend/src/api/traceFunnels/index.ts
@@ -58,7 +58,7 @@ export const getFunnelById = async (
58
funnelId?: string,
59
): Promise<SuccessResponse<FunnelData> | ErrorResponse> => {
60
const response: AxiosResponse = await axios.get(
61
- `${FUNNELS_BASE_PATH}/get/${funnelId}`,
+ `${FUNNELS_BASE_PATH}/${funnelId}`,
62
);
63
64
return {
@@ -98,7 +98,7 @@ export const deleteFunnel = async (
98
payload: DeleteFunnelPayload,
99
100
const response: AxiosResponse = await axios.delete(
101
- `${FUNNELS_BASE_PATH}/delete/${payload.id}`,
+ `${FUNNELS_BASE_PATH}/${payload.id}`,
102
103
104
0 commit comments