1574 extensibility twenty cli use workspace migration v2 to synchronize serverless function triggers (#14830)
twenty-cli serverless triggers follow up. Fixes: - eventName don't support wildcard - universalIdentifier not used to create or update trigger : update does not work properly (does deletion then creation) - add a base project in twenty-cli that is copied when creating a new app
This commit is contained in:
@@ -524,6 +524,7 @@ export class ApplicationSyncService {
|
||||
settings: {
|
||||
eventName: triggerToCreate.eventName,
|
||||
},
|
||||
universalIdentifier: triggerToCreate.universalIdentifier,
|
||||
serverlessFunctionId,
|
||||
};
|
||||
|
||||
@@ -634,6 +635,7 @@ export class ApplicationSyncService {
|
||||
settings: {
|
||||
pattern: triggerToCreate.schedule,
|
||||
},
|
||||
universalIdentifier: triggerToCreate.universalIdentifier,
|
||||
serverlessFunctionId,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user