We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5912af6 commit dc2be84Copy full SHA for dc2be84
1 file changed
src/Parsing/V2/Job.php
@@ -91,12 +91,11 @@ public function __construct(array $serverResponse)
91
$this->filename = $serverResponse['filename'];
92
$this->resultUrl = $serverResponse['result_url'] ?? null;
93
$this->alias = $serverResponse['alias'];
94
+ $this->webhooks = [];
95
if (array_key_exists("webhooks", $serverResponse)) {
96
foreach ($serverResponse['webhooks'] as $webhook) {
97
$this->webhooks[] = new JobWebhook($webhook);
98
}
- } else {
99
- $this->webhooks = [];
100
101
102
0 commit comments