🐛 fix(API/index.ts): change 'public' property to 'status' and set it to "public" or "private" based on the value of publicFlow to improve clarity and consistency
This commit is contained in:
parent
8f23c29818
commit
0f7c4861f4
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ export async function saveFlowStore(
|
|||
is_component: newFlow.is_component,
|
||||
parent: newFlow.parent,
|
||||
tags: tags,
|
||||
public: publicFlow,
|
||||
status: publicFlow ? "public" : "private",
|
||||
});
|
||||
|
||||
if (response.status !== 201) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue