@@ -21,7 +21,7 @@ |
||
| 21 | 21 | $this->apiEndPoint = 'v1/notifications/webhooks'; |
| 22 | 22 | |
| 23 | 23 | $data = ['url' => $url]; |
| 24 | - $data['event_types'] = collect($events)->map(function ($item) { |
|
| 24 | + $data['event_types'] = collect($events)->map(function($item) { |
|
| 25 | 25 | return ['name' => $item]; |
| 26 | 26 | })->toArray(); |
| 27 | 27 | |