fix: Make processor to work with multiple trigger objects

This commit is contained in:
Faruk AYDIN
2022-03-12 14:20:45 +03:00
committed by Ömer Faruk Aydın
parent fec55d698a
commit 3f7a888429
3 changed files with 89 additions and 45 deletions

View File

@@ -23,7 +23,7 @@ const executeFlow = async (
.throwIfNotFound();
const flow = await step.$relatedQuery('flow');
const data = await new Processor(flow, step).run();
const data = await new Processor(flow, step, { testRun: true }).run();
// TODO: Use this snippet to execute flows with the background job.
// const data = processorQueue.add('processorJob', {