Change error message for geofence error in mobile app #199
This commit is contained in:
parent
b09ca589f2
commit
b988abd852
1 changed files with 2 additions and 1 deletions
|
|
@ -802,8 +802,9 @@ class APIController extends Controller
|
|||
$is_covered = $geo->isCovered($long, $lat);
|
||||
if (!$is_covered)
|
||||
{
|
||||
// TODO: put geofence error message in config file somewhere
|
||||
$res->setError(true)
|
||||
->setErrorMessage('Location is not covered by our service.');
|
||||
->setErrorMessage('Oops! Our service is limited to Metro Manila only. We will update you as soon as we are able to cover your area');
|
||||
return $res->getReturnResponse();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue