From 3dd6da37e406ec979eae796042eb26e89426b9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=83=E7=A6=BE?= Date: Fri, 1 Sep 2023 16:40:57 +0800 Subject: [PATCH] Fix typo `target` --- packages/archive/src/plugins/cron.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/archive/src/plugins/cron.ts b/packages/archive/src/plugins/cron.ts index a24ea0c..d77fc44 100644 --- a/packages/archive/src/plugins/cron.ts +++ b/packages/archive/src/plugins/cron.ts @@ -31,7 +31,7 @@ export default fastifyPlugin( (promise: Promise, id) => promise .then(() => { - fastify.log.debug({ targrt: id }, "started"); + fastify.log.debug({ target: id }, "started"); startTask( fastify.log, fastify.prisma, @@ -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(), );