mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix users tests
This commit is contained in:
@@ -205,7 +205,7 @@ async function createUser (req: express.Request, res: express.Response) {
|
||||
|
||||
Hooks.runAction('action:api.user.created', { body, user, account, videoChannel })
|
||||
|
||||
return res.status(201).json({
|
||||
return res.json({
|
||||
user: {
|
||||
id: user.id,
|
||||
account: {
|
||||
|
||||
Reference in New Issue
Block a user