Add ADMINS in .drone.yml database
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 459211a5d5
commit 257ee2db5c

@ -65,4 +65,6 @@ steps:
from_secret: db_user
CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD:
from_secret: db_password
ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal

@ -17,7 +17,8 @@ class GatewayKeyword
$this->connection = (new ConnectClass)->connect();
}catch(PDOException $e){
throw new PDOException();
} }
}
}
public function insertKeyword(array $keyword): void
{

@ -41,7 +41,7 @@ $app->get('/', function (Request $request, Response $response) {
$ok = false;
foreach ($listGateway as $gateway){
try {
echo implode(",", get_class_methods((new $gateway)));
echo implode("\n", get_class_methods((new $gateway)));
if (method_exists($gateway, $method)) {
$ok = true;
$response->getBody()->write(json_encode((new $gateway)->$method($parameters)));

Loading…
Cancel
Save