diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-25 16:52:01 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-26 09:11:38 +0200 |
commit | d412e80e5f748f92118541a5334c14ebd4a90881 (patch) | |
tree | 3f0a240fadc0cf1f63ef087515b2e2cd253a6b79 /server/controllers/api | |
parent | 404b54e14f6623c1644a8c87ca22f4bab98d5484 (diff) | |
download | PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.gz PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.zst PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.zip |
Fix lint
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/users.ts | 2 | ||||
-rw-r--r-- | server/controllers/api/videos/index.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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 | |||
196 | 196 | ||
197 | await user.save() | 197 | await user.save() |
198 | 198 | ||
199 | return await res.sendStatus(204) | 199 | return res.sendStatus(204) |
200 | } | 200 | } |
201 | 201 | ||
202 | async function updateUser (req: express.Request, res: express.Response, next: express.NextFunction) { | 202 | 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 { | |||
41 | getVideoFileHeight, | 41 | getVideoFileHeight, |
42 | resetSequelizeInstance | 42 | resetSequelizeInstance |
43 | } from '../../../helpers' | 43 | } from '../../../helpers' |
44 | import { TagInstance, VideoInstance } from '../../../models' | 44 | import { VideoInstance } from '../../../models' |
45 | import { VideoCreate, VideoUpdate } from '../../../../shared' | 45 | import { VideoCreate, VideoUpdate } from '../../../../shared' |
46 | 46 | ||
47 | import { abuseVideoRouter } from './abuse' | 47 | import { abuseVideoRouter } from './abuse' |