From c3114e20ca2a914b07d0c4e14370c9b13a6ce3bf Mon Sep 17 00:00:00 2001 From: kavehjamshidi Date: Mon, 7 Apr 2025 12:24:20 +0330 Subject: [PATCH] cleaning test stuff --- controller/index.js | 4 ---- services/operation.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/controller/index.js b/controller/index.js index 92b115c..a28a444 100644 --- a/controller/index.js +++ b/controller/index.js @@ -12,10 +12,6 @@ export default function (fastify, opts, done) { await operation.sanaExit(fastify.req, fastify.reply) }); - cron.schedule(`12 22 * * * *`, async () => { - await operation.test(fastify.req, fastify.reply) - }); - fastify.get('/enter', operation.sanaEnter); fastify.get('/exit', operation.sanaExit); diff --git a/services/operation.js b/services/operation.js index 879d743..428d21d 100644 --- a/services/operation.js +++ b/services/operation.js @@ -68,8 +68,4 @@ export default class Operation { return {} } - - async test() { - console.log(123123132) - } } \ No newline at end of file