]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-comments.ts
Don't send follow request if the follow is already accepted
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-comments.ts
index 60c9179a655c8108f3fe99284810c80504729a53..fd03710c2c4aea8aa8584f539886007bdfb14416 100644 (file)
@@ -37,7 +37,7 @@ async function videoCommentActivityObjectToDBAttributes (video: VideoModel, acto
   }
 }
 
-async function addVideoComments (instance: VideoModel, commentUrls: string[]) {
+async function addVideoComments (commentUrls: string[], instance: VideoModel) {
   for (const commentUrl of commentUrls) {
     await addVideoComment(instance, commentUrl)
   }