From e240fd3c24752e0a4f1655e02fcafd580708b922 Mon Sep 17 00:00:00 2001 From: kumuditha Date: Wed, 26 Jun 2024 10:29:07 +0530 Subject: [PATCH] Fix error response detail and SCIM type variables swap --- .../org/wso2/charon3/core/exceptions/BadRequestException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java index 8400d89a8..cabb36eca 100644 --- a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java +++ b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java @@ -28,7 +28,7 @@ public BadRequestException() { } public BadRequestException(String scimType) { - this(ResponseCodeConstants.DESC_BAD_REQUEST, scimType); + this(scimType, ResponseCodeConstants.DESC_BAD_REQUEST); } public BadRequestException(String details, String scimType) {