]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-comments.ts
Add server hooks
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-comments.ts
index c3fc6b4621926179d24621a38e8138ab1811051b..2f26ddefd3bdcc34806192b6360b6bf990cc7ca9 100644 (file)
@@ -134,7 +134,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []):
     })
 
     if (sanitizeAndCheckVideoCommentObject(body) === false) {
-      throw new Error('Remote video comment JSON is not valid :' + JSON.stringify(body))
+      throw new Error('Remote video comment JSON is not valid:' + JSON.stringify(body))
     }
 
     const actorUrl = body.attributedTo