mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-781 Remove check for empty record list (has been moved up to core InsertAction)
This commit is contained in:
@ -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?
|
||||||
|
Reference in New Issue
Block a user