josehernandezfintecheandomx commented on code in PR #2308:
URL: https://github.com/apache/fineract/pull/2308#discussion_r864968848


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/exceptionmapper/InvalidTenantIdentifierExceptionMapper.java:
##########
@@ -42,7 +42,7 @@ public class InvalidTenantIdentifierExceptionMapper 
implements ExceptionMapper<I
 
     @Override
     public Response toResponse(@SuppressWarnings("unused") final 
InvalidTenantIdentiferException e) {
-        return 
Response.status(Status.UNAUTHORIZED).entity(ApiGlobalErrorResponse.invalidTenantIdentifier())
+        return 
Response.status(Status.METHOD_NOT_ALLOWED).entity(ApiGlobalErrorResponse.invalidTenantIdentifier())

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to