Fix OTP Client Portal to 4444

This commit is contained in:
R
2023-02-04 08:03:45 +07:00
parent e8c3decf85
commit 431070efc3
2 changed files with 3 additions and 5 deletions

View File

@@ -42,10 +42,8 @@ class CorporateService
$this->validatePlanRow($plan_data);
$plan = Plan::updateOrCreate([
$plan = $corporate->plans()->updateOrCreate([
'service_code' => $plan_data['service_code'],
'corporate_id' => $corporate->id,
'code' => $plan_data['code'],
], $plan_data);
return $plan;