fix(plugin-workflow): fix undefined error of action trigger (#4710)

This commit is contained in:
Junyi 2024-06-20 10:36:43 +08:00 committed by GitHub
parent b525362751
commit a9f1ce7bd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ export default class extends Trigger {
constructor(workflow: WorkflowPlugin) {
super(workflow);
workflow.app.use(this.middleware, { after: 'dataSource' });
workflow.app.dataSourceManager.use(this.middleware);
}
/**