Skip to content

Update address not updating internally #62

@wbhob

Description

@wbhob

'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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions