TEMP : return raw $response
continuous-integration/drone/push Build is passing Details

master
dorian.hodin 2 years ago
parent 5f762c4b02
commit 35d7b5ecbe

@ -37,7 +37,8 @@ try{
$response->getBody()->write((new $gateway)->$method($parameters)); // Si oui, on appelle cette fonction $response->getBody()->write((new $gateway)->$method($parameters)); // Si oui, on appelle cette fonction
} }
} }
return $response->withHeader('Content-type', 'application/json'); return $response;
//return $response->withHeader('Content-type', 'application/json');
}); });
}catch (TypeError $t){ }catch (TypeError $t){
echo "Error, wrong parameters key, or no parameters write : ".$t->getMessage(); echo "Error, wrong parameters key, or no parameters write : ".$t->getMessage();

Loading…
Cancel
Save