aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/author.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/author.ts')
-rw-r--r--server/models/video/author.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/author.ts b/server/models/video/author.ts
index 6f27ea7bd..43f84c3ea 100644
--- a/server/models/video/author.ts
+++ b/server/models/video/author.ts
@@ -107,13 +107,13 @@ function associate (models) {
107 }) 107 })
108} 108}
109 109
110function afterDestroy (author: AuthorInstance, options: { transaction: Sequelize.Transaction }) { 110function afterDestroy (author: AuthorInstance) {
111 if (author.isOwned()) { 111 if (author.isOwned()) {
112 const removeVideoAuthorToFriendsParams = { 112 const removeVideoAuthorToFriendsParams = {
113 uuid: author.uuid 113 uuid: author.uuid
114 } 114 }
115 115
116 return removeVideoAuthorToFriends(removeVideoAuthorToFriendsParams, options.transaction) 116 return removeVideoAuthorToFriends(removeVideoAuthorToFriendsParams)
117 } 117 }
118 118
119 return undefined 119 return undefined