Merge branch '199-geofence-notification-text-change' into 'master'
Change error message for geofence error in mobile app #199 Closes #199 See merge request jankstudio/resq!232
This commit is contained in:
commit
f2415b27ce
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