diff options
Diffstat (limited to 'server/models/video/video-channel.ts')
-rw-r--r-- | server/models/video/video-channel.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts index e469383e9..46c2db63f 100644 --- a/server/models/video/video-channel.ts +++ b/server/models/video/video-channel.ts | |||
@@ -178,13 +178,13 @@ function associate (models) { | |||
178 | }) | 178 | }) |
179 | } | 179 | } |
180 | 180 | ||
181 | function afterDestroy (videoChannel: VideoChannelInstance, options: { transaction: Sequelize.Transaction }) { | 181 | function afterDestroy (videoChannel: VideoChannelInstance) { |
182 | if (videoChannel.isOwned()) { | 182 | if (videoChannel.isOwned()) { |
183 | const removeVideoChannelToFriendsParams = { | 183 | const removeVideoChannelToFriendsParams = { |
184 | uuid: videoChannel.uuid | 184 | uuid: videoChannel.uuid |
185 | } | 185 | } |
186 | 186 | ||
187 | return removeVideoChannelToFriends(removeVideoChannelToFriendsParams, options.transaction) | 187 | return removeVideoChannelToFriends(removeVideoChannelToFriendsParams) |
188 | } | 188 | } |
189 | 189 | ||
190 | return undefined | 190 | return undefined |