diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-19 11:23:51 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-19 11:27:38 +0100 |
commit | 300cb723eb9bd219e6d381c57a8a6a860563bbbb (patch) | |
tree | 4af4b272d174c195c81285ad49325c4e7a2f7707 /server/controllers/api/videos/comment.ts | |
parent | 2a021e6cb6836864bb013d5ff451e8a4ae45c9b7 (diff) | |
download | PeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.tar.gz PeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.tar.zst PeerTube-300cb723eb9bd219e6d381c57a8a6a860563bbbb.zip |
Fix tests
Diffstat (limited to 'server/controllers/api/videos/comment.ts')
-rw-r--r-- | server/controllers/api/videos/comment.ts | 3 |
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 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | ||
2 | import { ResultList, ThreadsResultList, UserRight } from '../../../../shared/models' | 3 | import { ResultList, ThreadsResultList, UserRight } from '../../../../shared/models' |
3 | import { VideoCommentCreate } from '../../../../shared/models/videos/video-comment.model' | 4 | import { VideoCommentCreate } from '../../../../shared/models/videos/video-comment.model' |
4 | import { auditLoggerFactory, CommentAuditView, getAuditIdFromRes } from '../../../helpers/audit-logger' | 5 | import { auditLoggerFactory, CommentAuditView, getAuditIdFromRes } from '../../../helpers/audit-logger' |
@@ -29,8 +30,6 @@ import { | |||
29 | } from '../../../middlewares/validators' | 30 | } from '../../../middlewares/validators' |
30 | import { AccountModel } from '../../../models/account/account' | 31 | import { AccountModel } from '../../../models/account/account' |
31 | import { VideoCommentModel } from '../../../models/video/video-comment' | 32 | import { VideoCommentModel } from '../../../models/video/video-comment' |
32 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | ||
33 | import { logger } from '@server/helpers/logger' | ||
34 | 33 | ||
35 | const auditLogger = auditLoggerFactory('comments') | 34 | const auditLogger = auditLoggerFactory('comments') |
36 | const videoCommentRouter = express.Router() | 35 | const videoCommentRouter = express.Router() |