mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-06 08:19:25 +03:00
fix to index webhooks method (#372)
This commit is contained in:
parent
273b48343d
commit
ee35e40846
@ -66,6 +66,7 @@ class IndexResponse implements ApiResponse
|
||||
public static function create(array $data)
|
||||
{
|
||||
$self = new self();
|
||||
$data = isset($data['webhooks']) ? $data['webhooks'] : $data;
|
||||
if (isset($data['bounce'])) {
|
||||
$self->setBounce($data['bounce']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user