injected service use to handle the review related operations
injected logger used to handle the logging
request context [headers, body, params, query].
params.reviewId
is required200 Status OK
This handler is used to update organization reviews by applying the following steps in sequence:
Get the reviewId from params
Update review where reviewId is reviewId (reviewService.updateReview)
Recalculate organization stats (organizationApi.updateOrganizationReviewStats) If an error occurs, it is logged and the process continues
Return success
400 NBError Bad Request
500 NBError Internal Server Error
Generated using TypeDoc
Update organization reviews handler