Store customer, remove required from address field

This commit is contained in:
Jérémy Munsch 2021-08-16 13:20:26 +02:00
parent e3f7a7ebea
commit c97abfb253

View file

@ -28,7 +28,7 @@ class StoreCustomerRequest extends BaseApiRequest
->uncompromised()
],
'birth_date' => 'required|date_format:Y-m-d',
'address' => 'required|string',
'address' => 'sometimes|string',
'address2' => 'sometimes|string',
'phone' => 'sometimes|string',
'country' => [