Refactor segment filter data to embedded object
[MAILPOET-3177]
This commit is contained in:
committed by
Veljko V
parent
bd63ae508f
commit
40c9f047be
@ -37,7 +37,7 @@ class DynamicSegmentsResponseBuilder {
|
||||
if (!$filter instanceof DynamicSegmentFilterEntity) {
|
||||
return $data;
|
||||
}
|
||||
return array_merge($data, $filter->getFilterData() ?? []);
|
||||
return array_merge($data, $filter->getFilterData()->getData() ?? []);
|
||||
}
|
||||
|
||||
public function buildForListing(array $segments): array {
|
||||
|
Reference in New Issue
Block a user