|
'PUT': { |
|
handler: 'CustomerController.updateAddress', |
|
config: { |
|
prefix: 'cart.prefix', |
|
validate: { |
|
params: { |
|
id: joi.alternatives().try( |
|
joi.number(), |
|
joi.string() |
|
).required(), |
|
address: joi.any().required() |
|
} |
|
}, |
|
app: { |
|
permissions: { |
|
resource_name: 'apiPutCustomerIdAddressAddressRoute', |
|
roles: ['admin'] |
|
} |
|
} |
|
} |
|
}, |
also, it is not returning the updated object
spool-cart/lib/config/routes.ts
Lines 3504 to 3524 in 7320685
also, it is not returning the updated object