vidakovic commented on code in PR #2554:
URL: https://github.com/apache/fineract/pull/2554#discussion_r961213918


##########
fineract-provider/src/main/java/org/apache/fineract/adhocquery/service/AdHocWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -158,7 +158,7 @@ public CommandProcessingResult enableAdHocQuery(Long 
adHocId) {
              * Checking the adHoc present in DB or not using id
              */
             final AdHoc adHoc = 
this.adHocRepository.findById(adHocId).orElseThrow(() -> new 
AdHocNotFoundException(adHocId));
-            adHoc.enableActive();
+            adHoc.setActive(false);

Review Comment:
   ... same here "enable" => "adHoc.setActive(true);"?



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