From b99106cc9b4c322885b766614375103a3dbc932f Mon Sep 17 00:00:00 2001 From: arul-foureals Date: Fri, 3 Jan 2025 20:59:24 +0000 Subject: [PATCH] lint fixed --- src/notifications/v2/notifications.grant.service.spec.ts | 2 +- src/notifications/v2/notifications.grant.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notifications/v2/notifications.grant.service.spec.ts b/src/notifications/v2/notifications.grant.service.spec.ts index 9386dfe..5387934 100644 --- a/src/notifications/v2/notifications.grant.service.spec.ts +++ b/src/notifications/v2/notifications.grant.service.spec.ts @@ -123,7 +123,7 @@ describe('NotificationsService', () => { findAllUpcomingOpeningGrants: mockFindAllUpcomingOpeningGrants, findAllUpdatedGrants: mockFindAllUpdatedGrants, - setGrantUpdatedToFalse:mockSetGrantUpdatedToFalse, + setGrantUpdatedToFalse: mockSetGrantUpdatedToFalse, findGrantsPublishedAfterDate: jest.fn(), findGrantsMatchingFilterCriteria: jest.fn(), }, diff --git a/src/notifications/v2/notifications.grant.service.ts b/src/notifications/v2/notifications.grant.service.ts index d73b3b4..d7982ff 100644 --- a/src/notifications/v2/notifications.grant.service.ts +++ b/src/notifications/v2/notifications.grant.service.ts @@ -224,7 +224,7 @@ export class GrantNotificationsService { 'en-US': false, }, }); - const res = await this.grantService.setGrantUpdatedToFalse(grantIds); + await this.grantService.setGrantUpdatedToFalse(grantIds); console.log( `[CRON GRANT UPDATED] Finished updating contentful entries`, );