injected service use to handle the category 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 category by applying the following steps in sequence:
Get the categoryId from params
Update the category (categoryService.updateCategory)
Get the updated category (categoryService.getOneCategory)
Return the updated category (categoryService.normalizeCategoryResponse)
Error
404 NBError Not Found
500 NBError Internal Server Error
Generated using TypeDoc
Update category handler