diff --git a/packages/server/src/tasks/worker.ts b/packages/server/src/tasks/worker.ts index 84aa36f..686c9d3 100644 --- a/packages/server/src/tasks/worker.ts +++ b/packages/server/src/tasks/worker.ts @@ -38,7 +38,7 @@ export const addPipelineCronJob = { const taskList = { ...twitterPipeline.getTaskList(), - [addPipelineCronJob.id]: addPipelineCronJob, + [addPipelineCronJob.id]: addPipelineCronJob.handler, } as const; export async function addPipeline>(