aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-25 16:52:01 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commitd412e80e5f748f92118541a5334c14ebd4a90881 (patch)
tree3f0a240fadc0cf1f63ef087515b2e2cd253a6b79 /server/controllers/api
parent404b54e14f6623c1644a8c87ca22f4bab98d5484 (diff)
downloadPeerTube-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.ts2
-rw-r--r--server/controllers/api/videos/index.ts2
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
202async function updateUser (req: express.Request, res: express.Response, next: express.NextFunction) { 202async 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'
44import { TagInstance, VideoInstance } from '../../../models' 44import { VideoInstance } from '../../../models'
45import { VideoCreate, VideoUpdate } from '../../../../shared' 45import { VideoCreate, VideoUpdate } from '../../../../shared'
46 46
47import { abuseVideoRouter } from './abuse' 47import { abuseVideoRouter } from './abuse'