aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users/index.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-02 14:23:50 +0200
committerChocobozzz <me@florianbigard.com>2020-07-02 14:23:50 +0200
commit1e904cde34ba41a16256da1073336dd652368592 (patch)
tree0bd04e8f8d560f1b4b31112aab03c357d6b91d0d /server/controllers/api/users/index.ts
parentd10538b47d134cebe9dfdbcef346e9bc94f993f0 (diff)
downloadPeerTube-1e904cde34ba41a16256da1073336dd652368592.tar.gz
PeerTube-1e904cde34ba41a16256da1073336dd652368592.tar.zst
PeerTube-1e904cde34ba41a16256da1073336dd652368592.zip
Fix users tests
Diffstat (limited to 'server/controllers/api/users/index.ts')
-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 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: {