1
0
Fork 0

Fix typo in error log

This commit is contained in:
Chocobozzz 2020-01-20 13:59:56 +01:00
parent 70870adfac
commit 5fbd08be37
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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