cleaning test stuff

main
kavehjamshidi 2 weeks ago
parent 7fe8830671
commit c3114e20ca
  1. 4
      controller/index.js
  2. 4
      services/operation.js

@ -12,10 +12,6 @@ export default function (fastify, opts, done) {
await operation.sanaExit(fastify.req, fastify.reply) 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('/enter', operation.sanaEnter);
fastify.get('/exit', operation.sanaExit); fastify.get('/exit', operation.sanaExit);

@ -68,8 +68,4 @@ export default class Operation {
return {} return {}
} }
async test() {
console.log(123123132)
}
} }
Loading…
Cancel
Save