diff options
Diffstat (limited to 'server/models/video/video-channel.ts')
-rw-r--r-- | server/models/video/video-channel.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts index f84b85290..183e7448c 100644 --- a/server/models/video/video-channel.ts +++ b/server/models/video/video-channel.ts | |||
@@ -291,8 +291,7 @@ export class VideoChannelModel extends Model<Partial<AttributesOnly<VideoChannel | |||
291 | @BelongsTo(() => AccountModel, { | 291 | @BelongsTo(() => AccountModel, { |
292 | foreignKey: { | 292 | foreignKey: { |
293 | allowNull: false | 293 | allowNull: false |
294 | }, | 294 | } |
295 | hooks: true | ||
296 | }) | 295 | }) |
297 | Account: AccountModel | 296 | Account: AccountModel |
298 | 297 | ||