vorburger commented on a change in pull request #1361:
URL: https://github.com/apache/fineract/pull/1361#discussion_r533925160



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/infrastructure/creditbureau/service/OrganisationCreditBureauWritePlatflormServiceImpl.java
##########
@@ -76,13 +76,13 @@ public CommandProcessingResult 
updateCreditBureau(JsonCommand command) {
 
         final long creditbureauID = 
command.longValueOfParameterNamed("creditBureauId");
 
-        final boolean is_active = 
command.booleanPrimitiveValueOfParameterNamed("is_active");
+        final boolean isActive = 
command.booleanPrimitiveValueOfParameterNamed("isActive");
 
         final OrganisationCreditBureau orgcb = 
organisationCreditBureauRepository.getOne(creditbureauID);
 
-        orgcb.setIsActive(is_active);
+        orgcb.setIsActive(isActive);
 
-        organisationCreditBureauRepository.saveAndFlush(orgcb);

Review comment:
       @nikpawar89 well spotted! I'm resolving this, as it looks like it has 
been addressed in the current version (the `saveAndFlush` is no longer removed 
now). @rrpawar96 Please Resolve open discussion items yourself in the future, 
as it makes it easier and faster for me to review pending pull requests.




----------------------------------------------------------------
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.

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


Reply via email to