diff --git a/ApiService/MailgunApiService.php b/ApiService/MailgunApiService.php index 1387ed5..ed35a7b 100644 --- a/ApiService/MailgunApiService.php +++ b/ApiService/MailgunApiService.php @@ -32,6 +32,6 @@ public function bind() { $metaData = json_decode($this->request->getContent(), true); - return array($this->bindHook($metaData)); + return array($this->bindHook($metaData['event-data'])); } }