CE-781 Remove check for empty record list (has been moved up to core InsertAction)

This commit is contained in:
2024-01-08 14:18:32 -06:00
parent 96013878bc
commit 56a2949911

View File

@ -189,12 +189,6 @@ public class BaseAPIActionUtil
InsertOutput insertOutput = new InsertOutput(); InsertOutput insertOutput = new InsertOutput();
insertOutput.setRecords(new ArrayList<>()); insertOutput.setRecords(new ArrayList<>());
if(CollectionUtils.nullSafeIsEmpty(insertInput.getRecords()))
{
LOG.debug("Insert request called with 0 records. Returning with no-op");
return (insertOutput);
}
try try
{ {
// todo - supports bulk post? // todo - supports bulk post?