From 06c27593386459b0f6b85fc674460ea5af23f7f1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Jul 2021 16:47:14 +0200 Subject: Fix hooks definition --- server/models/video/video-channel.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/models/video/video-channel.ts') 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 AccountModel, { foreignKey: { allowNull: false - }, - hooks: true + } }) Account: AccountModel -- cgit v1.2.3