Fix QRCode endpoints

This commit is contained in:
Djery-Tom 2021-11-15 17:03:02 +01:00
parent 83d3c58637
commit 5ad8bb87a1
1 changed files with 3 additions and 3 deletions

View File

@ -220,11 +220,11 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
// Insurances routes
$router->group(['prefix' => '/insured'], function () use ($router) {
//Search
$router->get('search', 'InsuredController@searchInsured');
$router->get('', 'NanoSanteServiceController@get');
});
//QRCode for agents
$router->get('qrcode/read/{id_user}', 'QRCodeController@read');
$router->get('qrcode/image/{id_user}', 'QRCodeController@image');
$router->get('qrcode/read/{id_user}', 'NanoSanteServiceController@get');
$router->get('qrcode/image/{id_user}', 'NanoSanteServiceController@get');
});