Skip to content

Commit

Permalink
Remove delivery street name validation before checkout
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com>
  • Loading branch information
sampoyigi committed Feb 2, 2023
1 parent bec6bc8 commit 3188840
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions traits/SearchesNearby.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ protected function handleGeocodeResponse($collection)
if (!$userLocation->hasCoordinates())
throw new ApplicationException(lang('igniter.local::default.alert_invalid_search_query'));

if (!$userLocation->getStreetName())
throw new ApplicationException(lang('igniter.local::default.alert_missing_street_address'));

Location::updateUserPosition($userLocation);

return $userLocation;
Expand Down

0 comments on commit 3188840

Please sign in to comment.