X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fvideo-comments.ts;h=2f26ddefd3bdcc34806192b6360b6bf990cc7ca9;hb=b4055e1c23eeefb0c8a85a77f312b2827d98f483;hp=c3fc6b4621926179d24621a38e8138ab1811051b;hpb=66e001c848c009412c65cbce41be344d8985fd83;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index c3fc6b462..2f26ddefd 100644 --- a/server/lib/activitypub/video-comments.ts +++ b/server/lib/activitypub/video-comments.ts @@ -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