adamsaghy commented on code in PR #4487:
URL: https://github.com/apache/fineract/pull/4487#discussion_r2030983404
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/group/serialization/GroupingTypesDataValidator.java:
##########
@@ -176,19 +176,9 @@ public void validateForCreateCenterGroup(final JsonCommand
command) {
final String externalId =
this.fromApiJsonHelper.extractStringNamed(GroupingTypesApiConstants.externalIdParamName,
element);
baseDataValidator.reset().parameter(GroupingTypesApiConstants.externalIdParamName).value(externalId).notExceedingLengthOf(100);
}
-
- final Long centerId =
this.fromApiJsonHelper.extractLongNamed(GroupingTypesApiConstants.centerIdParamName,
element);
Review Comment:
centerId is why not mandatory for creating a new Center Group?
--
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]