ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix typo in error log
Chocobozzz5fbd08be3749
diff --git a/server/middlewares/validators/videos/video-comments.ts b/server/middlewares/validators/videos/video-comments.tsindex eb07d94309..77c5f940df 100644--- a/server/middlewares/validators/videos/video-comments.ts+++ b/server/middlewares/validators/videos/video-comments.ts@@ -134,7 +134,7 @@ async function doesVideoCommentThreadExist (idArg: number | string, video: MVideif (videoComment.videoId !== video.id) {res.status(400)- .json({ error: 'Video comment is associated to this video.' })+ .json({ error: 'Video comment is not associated to this video.' }).end()return false@@ -166,7 +166,7 @@ async function doesVideoCommentExist (idArg: number | string, video: MVideoId, rif (videoComment.videoId !== video.id) {res.status(400)- .json({ error: 'Video comment is associated to this video.' })+ .json({ error: 'Video comment is not associated to this video.' }).end()return false