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/users.ts | |
parent | 404b54e14f6623c1644a8c87ca22f4bab98d5484 (diff) | |
download | PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.gz PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.tar.zst PeerTube-d412e80e5f748f92118541a5334c14ebd4a90881.zip |
Fix lint
Diffstat (limited to 'server/controllers/api/users.ts')
-rw-r--r-- | server/controllers/api/users.ts | 2 |
1 files changed, 1 insertions, 1 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) { |