Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -33,7 +33,7 @@ public class YtDataComponentServiceImpl |
33 | 33 | .eq(DataComponent::getTenantId, tenantId) |
34 | 34 | .eq(DataComponent::getDataBoardId, boardId)); |
35 | 35 | if (dataComponentList.isEmpty()) { |
36 | - throw new YtDataValidationException(ErrorMessage.INVALID_PARAMETER.getMessage()); | |
36 | + return null; | |
37 | 37 | } |
38 | 38 | return dataComponentList.stream() |
39 | 39 | .map( | ... | ... |