fix/details-incorrectly-sent-to-toku #38
@ -103,8 +103,12 @@ class Customer extends AbstractEndPoint
|
||||
continue;
|
||||
}
|
||||
if (!str_starts_with($value, '+')) {
|
||||
if (str_starts_with($value, '56')) {
|
||||
$value = "+{$value}";
|
||||
} else {
|
||||
$value = "+56{$value}";
|
||||
}
|
||||
}
|
||||
$params[$key] = $value;
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user