Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
bosiraphael committed Apr 10, 2024
1 parent 9d74107 commit 44deae9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class CalendarCreateCompanyAndContactAfterSyncJob
CalendarCreateCompanyAndContactAfterSyncJob.name,
);
constructor(
private readonly createCompaniesAndContactsService: CreateCompanyAndContactService,
private readonly createCompanyAndContactService: CreateCompanyAndContactService,
@InjectObjectMetadataRepository(CalendarChannelObjectMetadata)
private readonly calendarChannelService: CalendarChannelRepository,
@InjectObjectMetadataRepository(CalendarEventParticipantObjectMetadata)
Expand Down Expand Up @@ -54,7 +54,7 @@ export class CalendarCreateCompanyAndContactAfterSyncJob
workspaceId,
);

await this.createCompaniesAndContactsService.createCompaniesAndContactsAndUpdateParticipantsAfterSync(
await this.createCompanyAndContactService.createCompaniesAndContactsAndUpdateParticipantsAfterSync(
handle,
calendarEventParticipantsWithoutPersonIdAndWorkspaceMemberId,
workspaceId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class MessagingCreateCompanyAndContactAfterSyncJob
MessagingCreateCompanyAndContactAfterSyncJob.name,
);
constructor(
private readonly createCompaniesAndContactsService: CreateCompanyAndContactService,
private readonly createCompanyAndContactService: CreateCompanyAndContactService,
@InjectObjectMetadataRepository(MessageChannelObjectMetadata)
private readonly messageChannelService: MessageChannelRepository,
@InjectObjectMetadataRepository(MessageParticipantObjectMetadata)
Expand Down Expand Up @@ -54,7 +54,7 @@ export class MessagingCreateCompanyAndContactAfterSyncJob
workspaceId,
);

await this.createCompaniesAndContactsService.createCompaniesAndContactsAndUpdateParticipantsAfterSync(
await this.createCompanyAndContactService.createCompaniesAndContactsAndUpdateParticipantsAfterSync(
handle,
contactsToCreate,
workspaceId,
Expand Down

0 comments on commit 44deae9

Please sign in to comment.