Browse Source

MailjetSMSUtils : correctif

develop
Guillaume 3 years ago
parent
commit
68a4f19e3a
1 changed files with 1 additions and 11 deletions
  1. +1
    -11
      ShopBundle/Services/MailjetSmsUtils.php

+ 1
- 11
ShopBundle/Services/MailjetSmsUtils.php View File

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

Loading…
Cancel
Save