add company Name to Carrier

This commit is contained in:
Yisroel Baum 2025-11-08 22:54:26 +02:00
parent 5cd4d3ad3f
commit 9043b93555
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
6 changed files with 31 additions and 7 deletions

View file

@ -14,7 +14,11 @@ class CreateCarrier
public function execute(): Carrier
{
$carrier = new Carrier(null, $this->dto->email);
$carrier = new Carrier(
null,
$this->dto->email,
$this->dto->companyName
);
return $this->carrierRepo->save($carrier);
}