diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /server/models/user/user-notification-setting.ts | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'server/models/user/user-notification-setting.ts')
-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 | } |