Skip to content

Commit

Permalink
fix: cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesb committed Feb 28, 2024
1 parent e37788b commit d603df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/tasks/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const addPipelineCronJob = {

const taskList = {
...twitterPipeline.getTaskList(),
[addPipelineCronJob.id]: addPipelineCronJob,
[addPipelineCronJob.id]: addPipelineCronJob.handler,
} as const;

export async function addPipeline<Name extends KeysWithoutBar<typeof taskList>>(
Expand Down

0 comments on commit d603df4

Please sign in to comment.