aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-19 11:23:51 +0100
committerChocobozzz <me@florianbigard.com>2021-02-19 11:27:38 +0100
commit300cb723eb9bd219e6d381c57a8a6a860563bbbb (patch)
tree4af4b272d174c195c81285ad49325c4e7a2f7707 /server/controllers/api
parent2a021e6cb6836864bb013d5ff451e8a4ae45c9b7 (diff)
downloadPeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.tar.gz
PeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.tar.zst
PeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.zip
Fix tests
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/videos/comment.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/controllers/api/videos/comment.ts b/server/controllers/api/videos/comment.ts
index 38fa7c3b0..f1f53d354 100644
--- a/server/controllers/api/videos/comment.ts
+++ b/server/controllers/api/videos/comment.ts
@@ -1,4 +1,5 @@
1import * as express from 'express' 1import * as express from 'express'
2import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
2import { ResultList, ThreadsResultList, UserRight } from '../../../../shared/models' 3import { ResultList, ThreadsResultList, UserRight } from '../../../../shared/models'
3import { VideoCommentCreate } from '../../../../shared/models/videos/video-comment.model' 4import { VideoCommentCreate } from '../../../../shared/models/videos/video-comment.model'
4import { auditLoggerFactory, CommentAuditView, getAuditIdFromRes } from '../../../helpers/audit-logger' 5import { auditLoggerFactory, CommentAuditView, getAuditIdFromRes } from '../../../helpers/audit-logger'
@@ -29,8 +30,6 @@ import {
29} from '../../../middlewares/validators' 30} from '../../../middlewares/validators'
30import { AccountModel } from '../../../models/account/account' 31import { AccountModel } from '../../../models/account/account'
31import { VideoCommentModel } from '../../../models/video/video-comment' 32import { VideoCommentModel } from '../../../models/video/video-comment'
32import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
33import { logger } from '@server/helpers/logger'
34 33
35const auditLogger = auditLoggerFactory('comments') 34const auditLogger = auditLoggerFactory('comments')
36const videoCommentRouter = express.Router() 35const videoCommentRouter = express.Router()