From 833d8ec30c2e9ab5c8206778ee766e91f8b06f06 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 23 Oct 2023 17:25:47 -0300 Subject: [PATCH] fix(API/index.ts): update API endpoint from `${BASE_URL_API}store/` to `${BASE_URL_API}store/components/` to match backend API endpoint --- src/frontend/src/controllers/API/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/controllers/API/index.ts b/src/frontend/src/controllers/API/index.ts index 298d017c5..14309bc0b 100644 --- a/src/frontend/src/controllers/API/index.ts +++ b/src/frontend/src/controllers/API/index.ts @@ -555,7 +555,7 @@ export async function saveFlowStore(newFlow: { is_component?: boolean; }): Promise { try { - const response = await api.post(`${BASE_URL_API}store/`, { + const response = await api.post(`${BASE_URL_API}store/components/`, { name: newFlow.name, data: newFlow.data, description: newFlow.description,