Change getAllKeyword route
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent f8bcae6700
commit c90fca2cc3

@ -188,7 +188,7 @@ $app->delete('/deleteKeyword', function(Request $request, Response $response){
return $response->withStatus(200); return $response->withStatus(200);
}); });
$app->get('getAllKeyword', function(Request $request, Response $response){ $app->get('/getAllKeyword', function(Request $request, Response $response){
try{ try{
$response->getBody()->write(json_encode((new GatewayKeyword)->getAllKeyword(),JSON_UNESCAPED_UNICODE)); $response->getBody()->write(json_encode((new GatewayKeyword)->getAllKeyword(),JSON_UNESCAPED_UNICODE));
}catch (PDOException $e){ }catch (PDOException $e){

Loading…
Cancel
Save