aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-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'