diff options
Diffstat (limited to 'server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts')
-rw-r--r-- | server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts b/server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts index ee3027245..f36399f05 100644 --- a/server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts +++ b/server/lib/notifier/shared/video-publication/studio-edition-finished-for-owner.ts | |||
@@ -27,8 +27,8 @@ export class StudioEditionFinishedForOwner extends AbstractNotification <MVideoF | |||
27 | return [ this.user ] | 27 | return [ this.user ] |
28 | } | 28 | } |
29 | 29 | ||
30 | async createNotification (user: MUserWithNotificationSetting) { | 30 | createNotification (user: MUserWithNotificationSetting) { |
31 | const notification = await UserNotificationModel.create<UserNotificationModelForApi>({ | 31 | const notification = UserNotificationModel.build<UserNotificationModelForApi>({ |
32 | type: UserNotificationType.MY_VIDEO_STUDIO_EDITION_FINISHED, | 32 | type: UserNotificationType.MY_VIDEO_STUDIO_EDITION_FINISHED, |
33 | userId: user.id, | 33 | userId: user.id, |
34 | videoId: this.payload.id | 34 | videoId: this.payload.id |