From dfe1c0252a9bdf00cd06e748451b6810cc411918 Mon Sep 17 00:00:00 2001 From: Danish Joseph Date: Wed, 24 Apr 2024 15:21:09 +0200 Subject: [PATCH] update release version (#28) * update release version Fixes #27 * Update cron expression for data sync service --- package.json | 2 +- src/data-sync/data-sync.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d53db50..2c38bc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stockdog", - "version": "0.0.1", + "version": "0.0.2", "description": "equity insights app using nestjs", "author": "danisjoseph", "private": true, diff --git a/src/data-sync/data-sync.service.ts b/src/data-sync/data-sync.service.ts index 40cbcab..256930f 100644 --- a/src/data-sync/data-sync.service.ts +++ b/src/data-sync/data-sync.service.ts @@ -17,7 +17,7 @@ export class DataSyncService { ) {} private readonly logger = new Logger(DataSyncService.name); - @Cron(CronExpression.EVERY_DAY_AT_6PM, { timeZone: 'Asia/Kolkata' }) + @Cron(CronExpression.EVERY_DAY_AT_7PM, { timeZone: 'Asia/Kolkata' }) async execute() { const currentDate = getCurrentDate(); this.logger.log(