aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/friends.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/friends.ts')
-rw-r--r--server/lib/friends.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/friends.ts b/server/lib/friends.ts
index 3f0ce3f33..ea9ddbe8d 100644
--- a/server/lib/friends.ts
+++ b/server/lib/friends.ts
@@ -80,12 +80,12 @@ function updateVideoToFriends (videoData: RemoteVideoUpdateData, transaction: Se
80 return createRequest(options) 80 return createRequest(options)
81} 81}
82 82
83function removeVideoToFriends (videoParams: RemoteVideoRemoveData) { 83function removeVideoToFriends (videoParams: RemoteVideoRemoveData, transaction: Sequelize.Transaction) {
84 const options = { 84 const options = {
85 type: ENDPOINT_ACTIONS.REMOVE, 85 type: ENDPOINT_ACTIONS.REMOVE,
86 endpoint: REQUEST_ENDPOINTS.VIDEOS, 86 endpoint: REQUEST_ENDPOINTS.VIDEOS,
87 data: videoParams, 87 data: videoParams,
88 transaction: null 88 transaction
89 } 89 }
90 return createRequest(options) 90 return createRequest(options)
91} 91}