X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fuser%2Fuser-notification-setting.ts;h=66e1d85b31fe10476e0d511f2b677144b4bc8fa9;hb=082d32eb8873190e48329b61b91f87d71f3cf812;hp=b144f837765436b3e4c1ffa00f77603f462bd629;hpb=1808a1f8e4b7b102823492a2007a46929aebf189;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/user/user-notification-setting.ts b/server/models/user/user-notification-setting.ts index b144f8377..66e1d85b3 100644 --- a/server/models/user/user-notification-setting.ts +++ b/server/models/user/user-notification-setting.ts @@ -178,11 +178,11 @@ export class UserNotificationSettingModel extends Model 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