X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fnotifier%2Fshared%2Fabuse%2Fabuse-state-change-for-reporter.ts;fp=server%2Flib%2Fnotifier%2Fshared%2Fabuse%2Fabuse-state-change-for-reporter.ts;h=97e896c6a667f6a119b31f7b9f293dcc76795c02;hb=785f1897a42984ece9c6f65829d195d67e331d95;hp=d92f7a13ba701100903675a55b3e560ea91e391e;hpb=0260dc8aca952f9412a8620e433b9e16e675696e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts b/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts index d92f7a13b..97e896c6a 100644 --- a/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts +++ b/server/lib/notifier/shared/abuse/abuse-state-change-for-reporter.ts @@ -32,8 +32,8 @@ export class AbuseStateChangeForReporter extends AbstractNotification ({ + createNotification (user: MUserWithNotificationSetting) { + const notification = UserNotificationModel.build({ type: UserNotificationType.ABUSE_STATE_CHANGE, userId: user.id, abuseId: this.abuse.id