injected service use to handle the location related operations
injected logger used to handle the logging
request context [headers, body, params, query].
params.id
is required200 Status Ok
This handler is used to update a location by applying the following steps in sequence:
Get the locationId from params
Update the location (locationService.updateLocation)
Get the updated location (locationService.getLocation)
Return the updated location (locationService.normalizeLocationResponse)
Error
404 NBError Not Found
500 NBError Internal Server Error
Generated using TypeDoc
Update location handler