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