Explorar el Código

MailjetSMSUtils : correctif

develop
Guillaume hace 3 años
padre
commit
68a4f19e3a
Se han modificado 1 ficheros con 1 adiciones y 11 borrados
  1. +1
    -11
      ShopBundle/Services/MailjetSmsUtils.php

+ 1
- 11
ShopBundle/Services/MailjetSmsUtils.php Ver fichero

@@ -86,17 +86,7 @@ class MailjetSmsUtils
]
);

$statusCode = $response->getStatusCode();

if ($statusCode == 200) {
$content = $response->getContent();
$content = $response->toArray();
return $content;
} else {
// log
//return $response->getContent() ;
return false;
}
return $response ;
}
else {
throw new \ErrorException('Le token SMS Mailjet n\'est pas défini.');

Cargando…
Cancelar
Guardar