Skip to content

Commit

Permalink
fix: notification about accepted/rejected PR is not sent
Browse files Browse the repository at this point in the history
  • Loading branch information
alsakhaev committed Oct 15, 2024
1 parent d70670a commit 579e950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/backend/src/services/mutation/mutation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export class MutationService {

const notification: NotificationCreateDto = {
type: NotificationType.PullRequestAccepted,
recipients: [originAuthorId],
recipients: [forkAuthorId],
payload: {
sourceMutationId: forkedMutation.id,
targetMutationId: originalMutation.id,
Expand Down Expand Up @@ -341,7 +341,7 @@ export class MutationService {

const notification: NotificationCreateDto = {
type: NotificationType.PullRequestRejected,
recipients: [originAuthorId],
recipients: [forkAuthorId],
payload: {
sourceMutationId: forkedMutation.id,
targetMutationId: originalMutation.id,
Expand Down

0 comments on commit 579e950

Please sign in to comment.