瀏覽代碼

MailjetSMSUtils : correctif

develop
Guillaume 3 年之前
父節點
當前提交
68a4f19e3a
共有 1 個文件被更改,包括 1 次插入11 次删除
  1. +1
    -11
      ShopBundle/Services/MailjetSmsUtils.php

+ 1
- 11
ShopBundle/Services/MailjetSmsUtils.php 查看文件

@@ -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…
取消
儲存