feat: Implement create dynamic data API endpoint

This commit is contained in:
Faruk AYDIN
2024-03-31 00:22:59 +01:00
parent bc082acbe7
commit ec6d634b99
8 changed files with 325 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ export const createStep = async (params = {}) => {
params.appKey =
params?.appKey || (params.type === 'action' ? 'deepl' : 'webhook');
params.parameters = params?.parameters || {};
const step = await Step.query().insertAndFetch(params);
return step;