mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix typo in error log
This commit is contained in:
@@ -134,7 +134,7 @@ async function doesVideoCommentThreadExist (idArg: number | string, video: MVide
|
||||
|
||||
if (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, r
|
||||
|
||||
if (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
|
||||
|
||||
Reference in New Issue
Block a user