VictorPavfurious commented on code in PR #4388:
URL: https://github.com/apache/fineract/pull/4388#discussion_r1983120565


##########
fineract-provider/src/main/java/org/apache/fineract/commands/api/AuditsApiResource.java:
##########
@@ -63,19 +59,15 @@
 @RequiredArgsConstructor
 public class AuditsApiResource {
 
-    private static final Set<String> RESPONSE_DATA_PARAMETERS = new 
HashSet<>(Arrays.asList("id", "actionName", "entityName", "resourceId",
-            "subresourceId", "maker", "madeOnDate", "checker", 
"checkedOnDate", "processingResult", "commandAsJson", "officeName",
-            "groupLevelName", "groupName", "clientName", "loanAccountNo", 
"savingsAccountNo", "clientId", "loanId", "url"));
-
     private static final String RESOURCE_NAME_FOR_PERMISSIONS = "AUDIT";
 
     private final PlatformSecurityContext context;
     private final AuditReadPlatformService auditReadPlatformService;
     private final ApiRequestParameterHelper apiRequestParameterHelper;
-    private final DefaultToApiJsonSerializer<AuditData> toApiJsonSerializer;
-    private final DefaultToApiJsonSerializer<AuditSearchData> 
toApiJsonSerializerSearchTemplate;
-    private final SqlValidator sqlValidator;
+    private final ToApiJsonSerializer<String> toApiJsonSerializer;
 
+    // todo: why response dto depend to query param paged..? Impossible 
refactor normally. Probably need to separate to

Review Comment:
   I have written this to Fineract DEV and clean up this todo



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