feat: Complete export flow rest API endpoint
This commit is contained in:
@@ -113,6 +113,10 @@ const authorizationList = {
|
||||
action: 'create',
|
||||
subject: 'Flow',
|
||||
},
|
||||
'POST /api/v1/flows/:flowId/export': {
|
||||
action: 'update',
|
||||
subject: 'Flow',
|
||||
},
|
||||
'POST /api/v1/flows/:flowId/steps': {
|
||||
action: 'update',
|
||||
subject: 'Flow',
|
||||
|
||||
@@ -23,7 +23,6 @@ const exportFlow = async (flow) => {
|
||||
})),
|
||||
};
|
||||
|
||||
console.log(JSON.stringify(exportedFlow, null, 2));
|
||||
return exportedFlow;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user