Skip to content

Commit

Permalink
Fix issue when creating order
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Oct 15, 2022
1 parent 75ac21b commit 49fa856
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apiresources/requests/OrderRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,9 @@ public function rules()

return $rules;
}

public function all($keys = null)
{
return array_except(parent::all($keys), ['order_menus', 'order_totals']);
}
}

0 comments on commit 49fa856

Please sign in to comment.