Skip to content

Commit

Permalink
fix: run remessa on load
Browse files Browse the repository at this point in the history
  • Loading branch information
yxuo committed May 31, 2024
1 parent a30a1d9 commit 6912ccf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cron-jobs/cron-jobs.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export class CronJobsService implements OnModuleInit, OnModuleLoad {
async onModuleLoad() {
const THIS_CLASS_WITH_METHOD = 'CronJobsService.onModuleLoad';

await this.saveTransacoesJae1();
await this.sendRemessa();

this.jobsConfig.push(
{
name: CrobJobsEnum.bulkSendInvites,
Expand Down

0 comments on commit 6912ccf

Please sign in to comment.