From d412e80e5f748f92118541a5334c14ebd4a90881 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Oct 2017 16:52:01 +0200 Subject: Fix lint --- server/controllers/api/users.ts | 2 +- server/controllers/api/videos/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/controllers') diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts index a7528328a..b49d37d4e 100644 --- a/server/controllers/api/users.ts +++ b/server/controllers/api/users.ts @@ -196,7 +196,7 @@ async function updateMe (req: express.Request, res: express.Response, next: expr await user.save() - return await res.sendStatus(204) + return res.sendStatus(204) } async function updateUser (req: express.Request, res: express.Response, next: express.NextFunction) { diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 7ebbf4d6e..9e233a8cc 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts @@ -41,7 +41,7 @@ import { getVideoFileHeight, resetSequelizeInstance } from '../../../helpers' -import { TagInstance, VideoInstance } from '../../../models' +import { VideoInstance } from '../../../models' import { VideoCreate, VideoUpdate } from '../../../../shared' import { abuseVideoRouter } from './abuse' -- cgit v1.2.3