@@ -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.'); |