Order APIs & Unity services

This commit is contained in:
Fairuz
2021-07-17 18:44:22 +08:00
parent 9c0772bf65
commit 95660069c9
23 changed files with 403 additions and 78 deletions
@@ -15,7 +15,6 @@ class UpdateOrderStepValidation extends AbstractValidation
{
return [
'id' => $object->getId(),
'current_step' => $object->getCurrentStep(),
];
}
@@ -25,10 +24,7 @@ class UpdateOrderStepValidation extends AbstractValidation
*/
protected function rules(?string $type = 'POST'): array
{
return [
'id'=> 'required|numeric',
'current_step'=> 'required',
];
return [];
}
/**