Fix ArcadiaMail Requests on api Allow phone to be empty string
This commit is contained in:
parent
a312773099
commit
9fe08103f4
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ class SendArchadiaDefaultMailRequest extends BaseApiRequest
|
|||
'deliver.address2' => 'sometimes|string|min:2|max:255',
|
||||
'deliver.city' => 'required|string|min:2|max:255',
|
||||
'deliver.postcode' => 'required|string|postal_code:FR|max:255',
|
||||
'deliver.phone' => 'required|string|phone:FR|max:255',
|
||||
'deliver.phone' => 'present|string|nullable|phone:FR|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class SendArchadiaGameMailRequest extends BaseApiRequest
|
|||
'deliver.address2' => 'sometimes|string|min:2|max:255',
|
||||
'deliver.city' => 'required|string|min:2|max:255',
|
||||
'deliver.postcode' => 'required|string|postal_code:FR|max:255',
|
||||
'deliver.phone' => 'required|string|phone:FR|max:255',
|
||||
'deliver.phone' => 'present|string|nullable|phone:FR|max:255',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue