mirror of https://github.com/Chocobozzz/PeerTube
Fix typo in error log
parent
70870adfac
commit
5fbd08be37
|
@ -134,7 +134,7 @@ async function doesVideoCommentThreadExist (idArg: number | string, video: MVide
|
||||||
|
|
||||||
if (videoComment.videoId !== video.id) {
|
if (videoComment.videoId !== video.id) {
|
||||||
res.status(400)
|
res.status(400)
|
||||||
.json({ error: 'Video comment is associated to this video.' })
|
.json({ error: 'Video comment is not associated to this video.' })
|
||||||
.end()
|
.end()
|
||||||
|
|
||||||
return false
|
return false
|
||||||
|
@ -166,7 +166,7 @@ async function doesVideoCommentExist (idArg: number | string, video: MVideoId, r
|
||||||
|
|
||||||
if (videoComment.videoId !== video.id) {
|
if (videoComment.videoId !== video.id) {
|
||||||
res.status(400)
|
res.status(400)
|
||||||
.json({ error: 'Video comment is associated to this video.' })
|
.json({ error: 'Video comment is not associated to this video.' })
|
||||||
.end()
|
.end()
|
||||||
|
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue