Skip to content

Commit

Permalink
Fix typo target
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 committed Sep 1, 2023
1 parent 0728dd2 commit 3dd6da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/archive/src/plugins/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default fastifyPlugin(
(promise: Promise<unknown>, id) =>
promise
.then(() => {
fastify.log.debug({ targrt: id }, "started");
fastify.log.debug({ target: id }, "started");
startTask(
fastify.log,
fastify.prisma,
Expand All @@ -41,7 +41,7 @@ export default fastifyPlugin(
return once(emitters[id], "done");
})
.catch((err) => fastify.log.error(err))
.then(() => fastify.log.debug({ targrt: id }, "finished"))
.then(() => fastify.log.debug({ target: id }, "finished"))
.then(() => delay(500)),
Promise.resolve(),
);
Expand Down

0 comments on commit 3dd6da3

Please sign in to comment.