diff options
Diffstat (limited to 'server/models/user')
-rw-r--r-- | server/models/user/user-notification-setting.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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<Partial<AttributesOnly<U | |||
178 | @AllowNull(false) | 178 | @AllowNull(false) |
179 | @Default(null) | 179 | @Default(null) |
180 | @Is( | 180 | @Is( |
181 | 'UserNotificationSettingMyVideoEditionFinished', | 181 | 'UserNotificationSettingMyVideoStudioEditionFinished', |
182 | value => throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoEditionFinished') | 182 | value => throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoStudioEditionFinished') |
183 | ) | 183 | ) |
184 | @Column | 184 | @Column |
185 | myVideoEditionFinished: UserNotificationSettingValue | 185 | myVideoStudioEditionFinished: UserNotificationSettingValue |
186 | 186 | ||
187 | @ForeignKey(() => UserModel) | 187 | @ForeignKey(() => UserModel) |
188 | @Column | 188 | @Column |
@@ -225,7 +225,7 @@ export class UserNotificationSettingModel extends Model<Partial<AttributesOnly<U | |||
225 | abuseNewMessage: this.abuseNewMessage, | 225 | abuseNewMessage: this.abuseNewMessage, |
226 | abuseStateChange: this.abuseStateChange, | 226 | abuseStateChange: this.abuseStateChange, |
227 | newPeerTubeVersion: this.newPeerTubeVersion, | 227 | newPeerTubeVersion: this.newPeerTubeVersion, |
228 | myVideoEditionFinished: this.myVideoEditionFinished, | 228 | myVideoStudioEditionFinished: this.myVideoStudioEditionFinished, |
229 | newPluginVersion: this.newPluginVersion | 229 | newPluginVersion: this.newPluginVersion |
230 | } | 230 | } |
231 | } | 231 | } |