feat: write REST API endpoint to create step

This commit is contained in:
Ali BARIN
2024-09-06 17:30:10 +00:00
parent 1ce31eefc6
commit 813646e392
8 changed files with 270 additions and 0 deletions

View File

@@ -93,6 +93,10 @@ const authorizationList = {
action: 'update',
subject: 'Flow',
},
'POST /api/v1/flows/:flowId/steps': {
action: 'update',
subject: 'Flow',
},
};
export const authorizeUser = async (request, response, next) => {