Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store

This commit is contained in:
cristhianzl 2023-10-23 23:04:48 -03:00
commit 3cb0231f2e
3 changed files with 13 additions and 5 deletions

View file

@ -553,6 +553,7 @@ export async function saveFlowStore(newFlow: {
description?: string;
style?: FlowStyleType;
is_component?: boolean;
parent?: string;
}): Promise<FlowType> {
try {
const response = await api.post(`${BASE_URL_API}store/components/`, {
@ -560,6 +561,7 @@ export async function saveFlowStore(newFlow: {
data: newFlow.data,
description: newFlow.description,
is_component: newFlow.is_component,
parent: newFlow.parent,
});
if (response.status !== 201) {