aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-01 16:47:14 +0200
committerChocobozzz <me@florianbigard.com>2021-07-01 16:47:14 +0200
commit06c27593386459b0f6b85fc674460ea5af23f7f1 (patch)
tree37b126b16b9f482e4c36a01d08434c659882521b /server/models/video/video.ts
parent693c6586cb896a84ff0f897b1c242bcf7bdcbaee (diff)
downloadPeerTube-06c27593386459b0f6b85fc674460ea5af23f7f1.tar.gz
PeerTube-06c27593386459b0f6b85fc674460ea5af23f7f1.tar.zst
PeerTube-06c27593386459b0f6b85fc674460ea5af23f7f1.zip
Fix hooks definition
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r--server/models/video/video.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 7a9e96210..1e5648a36 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -572,7 +572,6 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
572 foreignKey: { 572 foreignKey: {
573 allowNull: true 573 allowNull: true
574 }, 574 },
575 hooks: true,
576 onDelete: 'cascade' 575 onDelete: 'cascade'
577 }) 576 })
578 VideoChannel: VideoChannelModel 577 VideoChannel: VideoChannelModel