Refactor api for creating/updating dynamic segments
[MAILPOET-3177]
This commit is contained in:
committed by
Veljko V
parent
64b078c7be
commit
9fdebdb4d7
@ -29,7 +29,7 @@ class SegmentSaveController {
|
||||
|
||||
$this->checkSegmentUniqueName($name, $id);
|
||||
|
||||
return $this->segmentsRepository->createOrUpdate($name, $description, $id);
|
||||
return $this->segmentsRepository->createOrUpdate($name, $description, SegmentEntity::TYPE_DEFAULT, null, $id);
|
||||
}
|
||||
|
||||
public function duplicate(SegmentEntity $segmentEntity): SegmentEntity {
|
||||
|
Reference in New Issue
Block a user