diff options
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' |