From 300cb723eb9bd219e6d381c57a8a6a860563bbbb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 19 Feb 2021 11:23:51 +0100 Subject: Fix tests --- server/controllers/api/videos/comment.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/controllers/api/videos/comment.ts') 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 @@ import * as express from 'express' +import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' import { ResultList, ThreadsResultList, UserRight } from '../../../../shared/models' import { VideoCommentCreate } from '../../../../shared/models/videos/video-comment.model' import { auditLoggerFactory, CommentAuditView, getAuditIdFromRes } from '../../../helpers/audit-logger' @@ -29,8 +30,6 @@ import { } from '../../../middlewares/validators' import { AccountModel } from '../../../models/account/account' import { VideoCommentModel } from '../../../models/video/video-comment' -import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' -import { logger } from '@server/helpers/logger' const auditLogger = auditLoggerFactory('comments') const videoCommentRouter = express.Router() -- cgit v1.2.3