fix(API/index.ts): update API endpoint from ${BASE_URL_API}store/ to ${BASE_URL_API}store/components/ to match backend API endpoint

This commit is contained in:
anovazzi1 2023-10-23 17:25:47 -03:00
commit 833d8ec30c

View file

@ -555,7 +555,7 @@ export async function saveFlowStore(newFlow: {
is_component?: boolean;
}): Promise<FlowType> {
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,