aloux-iam 0.0.67 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -575,7 +575,7 @@ self.createCustomer = async (req, res) => {
575
575
  }
576
576
  user = new User(req.body)
577
577
  user.createdAt = (new Date()).getTime()
578
- user.status = 'Activo'
578
+ user.status = body?.status ? body?.status : 'Activo'
579
579
  let fun
580
580
  if(req.body?.assignedRole){
581
581
  fun = await Function.findOne({ name: process.env.FUNCTION_NAME },{ name: 1 }).lean()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aloux-iam",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "description": "Aloux IAM for APIs ",
5
5
  "main": "index.js",
6
6
  "scripts": {