diff --git a/service/src/services/event-subjects/callout.published.event.subject.ts b/service/src/services/event-subjects/callout.published.event.subject.ts index f52e488..c56c72e 100644 --- a/service/src/services/event-subjects/callout.published.event.subject.ts +++ b/service/src/services/event-subjects/callout.published.event.subject.ts @@ -6,9 +6,9 @@ import { BaseEventSubject } from './base.event.subject'; @Injectable() export class CalloutPublishedEventSubject extends BaseEventSubject { constructor( - private readonly inAppBuilder: CalloutPublishedInAppNotificationBuilder + private readonly calloutPublishedBuilder: CalloutPublishedInAppNotificationBuilder ) { super(); - this.registerBuilders([this.inAppBuilder]); + this.registerBuilders([this.calloutPublishedBuilder]); } } diff --git a/service/src/services/event-subjects/community.new.contributor.event.subject.ts b/service/src/services/event-subjects/community.new.contributor.event.subject.ts index 7946286..7a00c10 100644 --- a/service/src/services/event-subjects/community.new.contributor.event.subject.ts +++ b/service/src/services/event-subjects/community.new.contributor.event.subject.ts @@ -6,9 +6,9 @@ import { BaseEventSubject } from './base.event.subject'; @Injectable() export class CommunityNewContributorEventSubject extends BaseEventSubject { constructor( - private readonly inAppBuilder: CommunityNewContributorInAppNotificationBuilder + private readonly newContributorBuilder: CommunityNewContributorInAppNotificationBuilder ) { super(); - this.registerBuilders([this.inAppBuilder]); + this.registerBuilders([this.newContributorBuilder]); } } diff --git a/service/src/services/event-subjects/contributor.mentioned.event.subject.ts b/service/src/services/event-subjects/contributor.mentioned.event.subject.ts index 040ab08..fd691e6 100644 --- a/service/src/services/event-subjects/contributor.mentioned.event.subject.ts +++ b/service/src/services/event-subjects/contributor.mentioned.event.subject.ts @@ -1,14 +1,14 @@ import { Injectable } from '@nestjs/common'; import { CommunicationUserMentionEventPayload } from '@alkemio/notifications-lib'; -import { CalloutPublishedInAppNotificationBuilder } from '../builders/in-app'; +import { ContributorMentionedInAppNotificationBuilder } from '../builders/in-app'; import { BaseEventSubject } from './base.event.subject'; @Injectable() export class ContributorMentionedEventSubject extends BaseEventSubject { constructor( - private readonly inAppBuilder: CalloutPublishedInAppNotificationBuilder + private readonly contributorMentionedBuilder: ContributorMentionedInAppNotificationBuilder ) { super(); - this.registerBuilders([this.inAppBuilder]); + this.registerBuilders([this.contributorMentionedBuilder]); } }