Skip to content

Commit

Permalink
Merge pull request #360 from alkem-io/builder-fix
Browse files Browse the repository at this point in the history
Correct builder user on mention
  • Loading branch information
Comoque1 authored Dec 11, 2024
2 parents 5fd3f84 + 65c462d commit e09859d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { BaseEventSubject } from './base.event.subject';
@Injectable()
export class CalloutPublishedEventSubject extends BaseEventSubject<CollaborationCalloutPublishedEventPayload> {
constructor(
private readonly inAppBuilder: CalloutPublishedInAppNotificationBuilder
private readonly calloutPublishedBuilder: CalloutPublishedInAppNotificationBuilder
) {
super();
this.registerBuilders([this.inAppBuilder]);
this.registerBuilders([this.calloutPublishedBuilder]);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { BaseEventSubject } from './base.event.subject';
@Injectable()
export class CommunityNewContributorEventSubject extends BaseEventSubject<CommunityNewMemberPayload> {
constructor(
private readonly inAppBuilder: CommunityNewContributorInAppNotificationBuilder
private readonly newContributorBuilder: CommunityNewContributorInAppNotificationBuilder
) {
super();
this.registerBuilders([this.inAppBuilder]);
this.registerBuilders([this.newContributorBuilder]);
}
}
Original file line number Diff line number Diff line change
@@ -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<CommunicationUserMentionEventPayload> {
constructor(
private readonly inAppBuilder: CalloutPublishedInAppNotificationBuilder
private readonly contributorMentionedBuilder: ContributorMentionedInAppNotificationBuilder
) {
super();
this.registerBuilders([this.inAppBuilder]);
this.registerBuilders([this.contributorMentionedBuilder]);
}
}

0 comments on commit e09859d

Please sign in to comment.