diff options
Diffstat (limited to 'server/controllers/api/users/index.ts')
-rw-r--r-- | server/controllers/api/users/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts index 732a6faa3..c8e9eaeaa 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts | |||
@@ -205,7 +205,7 @@ async function createUser (req: express.Request, res: express.Response) { | |||
205 | 205 | ||
206 | Hooks.runAction('action:api.user.created', { body, user, account, videoChannel }) | 206 | Hooks.runAction('action:api.user.created', { body, user, account, videoChannel }) |
207 | 207 | ||
208 | return res.status(201).json({ | 208 | return res.json({ |
209 | user: { | 209 | user: { |
210 | id: user.id, | 210 | id: user.id, |
211 | account: { | 211 | account: { |