aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video-abuse.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-abuse.ts b/server/models/video/video-abuse.ts
index e8f4f9a67..d09f5f7a1 100644
--- a/server/models/video/video-abuse.ts
+++ b/server/models/video/video-abuse.ts
@@ -99,7 +99,7 @@ function associate (models) {
99 VideoAbuse.belongsTo(models.Account, { 99 VideoAbuse.belongsTo(models.Account, {
100 foreignKey: { 100 foreignKey: {
101 name: 'reporterAccountId', 101 name: 'reporterAccountId',
102 allowNull: true 102 allowNull: false
103 }, 103 },
104 onDelete: 'CASCADE' 104 onDelete: 'CASCADE'
105 }) 105 })