Fix hardcoded availability of rider in ajax call #424
This commit is contained in:
parent
718125f2bf
commit
2745e0dac0
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ class RiderController extends Controller
|
||||||
$avail = 'unavaiable';
|
$avail = 'unavaiable';
|
||||||
|
|
||||||
$response = new Response(
|
$response = new Response(
|
||||||
'active',
|
$avail,
|
||||||
Response::HTTP_OK,
|
Response::HTTP_OK,
|
||||||
['content-type' => 'text/plain']
|
['content-type' => 'text/plain']
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue