Fix hardcoded availability of rider in ajax call #424

This commit is contained in:
Kendrick Chan 2020-07-16 14:31:51 +08:00
parent 718125f2bf
commit 2745e0dac0

View file

@ -609,7 +609,7 @@ class RiderController extends Controller
$avail = 'unavaiable';
$response = new Response(
'active',
$avail,
Response::HTTP_OK,
['content-type' => 'text/plain']
);