]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/user/user-notification-setting.ts
Merge branch 'release/4.2.0' into develop
[github/Chocobozzz/PeerTube.git] / server / models / user / user-notification-setting.ts
index b144f837765436b3e4c1ffa00f77603f462bd629..66e1d85b31fe10476e0d511f2b677144b4bc8fa9 100644 (file)
@@ -178,11 +178,11 @@ export class UserNotificationSettingModel extends Model<Partial<AttributesOnly<U
   @AllowNull(false)
   @Default(null)
   @Is(
-    'UserNotificationSettingMyVideoEditionFinished',
-    value => throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoEditionFinished')
+    'UserNotificationSettingMyVideoStudioEditionFinished',
+    value => throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoStudioEditionFinished')
   )
   @Column
-  myVideoEditionFinished: UserNotificationSettingValue
+  myVideoStudioEditionFinished: UserNotificationSettingValue
 
   @ForeignKey(() => UserModel)
   @Column
@@ -225,7 +225,7 @@ export class UserNotificationSettingModel extends Model<Partial<AttributesOnly<U
       abuseNewMessage: this.abuseNewMessage,
       abuseStateChange: this.abuseStateChange,
       newPeerTubeVersion: this.newPeerTubeVersion,
-      myVideoEditionFinished: this.myVideoEditionFinished,
+      myVideoStudioEditionFinished: this.myVideoStudioEditionFinished,
       newPluginVersion: this.newPluginVersion
     }
   }