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:
parent
ee0c11b4a6
commit
833d8ec30c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue