aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api')
-rw-r--r--server/controllers/api/users/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts
index c8e9eaeaa..732a6faa3 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.json({ 208 return res.status(201).json({
209 user: { 209 user: {
210 id: user.id, 210 id: user.id,
211 account: { 211 account: {