authentication secrets
injected function use to authenticate the user token
target field to get the review id
injected service use to handle the review related operations
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status OK
This validator is used to check if the review is created by the user by applying the following steps in sequence:
Get the reviewId from params
Authenticate the request
Get the review by reviewId (reviewService.getOneReviewById)
Check if the review is created by the user
Return the status code
400 NBError Bad Request
401 NBError Unauthorized
403 NBError Forbidden
Generated using TypeDoc
Is my review validator