Mk9894 commented on code in PR #3304:
URL: https://github.com/apache/fineract/pull/3304#discussion_r1268940842
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/service/EntityDatatableChecksWritePlatformServiceImpl.java:
##########
@@ -105,10 +105,11 @@ public CommandProcessingResult createCheck(final
JsonCommand command) {
throw new
EntityDatatableCheckAlreadyExistsException(entity, status, datatableName);
}
} else {
- if (entity.equals("m_loan")) {
+ EntityTables entityTable = EntityTables.fromName(entity);
+ if (EntityTables.LOAN.equals(entityTable)) {
Review Comment:
Done
--
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]