|
|
@ -71,7 +71,8 @@ module.exports.run = async function({ inputs, instanceId }) { |
|
|
await userController.create(ctx) |
|
|
await userController.create(ctx) |
|
|
return { |
|
|
return { |
|
|
response: ctx.body, |
|
|
response: ctx.body, |
|
|
id: ctx.body._id, |
|
|
// internal property not returned through the API
|
|
|
|
|
|
id: ctx.userId, |
|
|
revision: ctx.body._rev, |
|
|
revision: ctx.body._rev, |
|
|
success: ctx.status === 200, |
|
|
success: ctx.status === 200, |
|
|
} |
|
|
} |
|
|
|