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 required204 Status No Content
This handler is used to delete organization review by user by applying the following steps in sequence:
Get the reviewId from params
Delete review where reviewId is reviewId (reviewService.deleteReview)
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
Delete organization review by user handler