Skip to content

Commit 3ce5d94

Browse files
authored
Fix issue with Notify on every speedtest run failing (#1521)
1 parent 73384bf commit 3ce5d94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Mail/SpeedtestCompletedMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function content(): Content
4848
'service' => Str::title($this->result->service),
4949
'serverName' => $this->result->server_name,
5050
'serverId' => $this->result->server_id,
51-
'isp' => $event->result->isp,
51+
'isp' => $this->result->isp,
5252
'ping' => round($this->result->ping, 2).' ms',
5353
'download' => Number::toBitRate(bits: $this->result->download_bits, precision: 2),
5454
'upload' => Number::toBitRate(bits: $this->result->upload_bits, precision: 2),

app/Mail/SpeedtestThresholdMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function content(): Content
4848
'service' => Str::title($this->result->service),
4949
'serverName' => $this->result->server_name,
5050
'serverId' => $this->result->server_id,
51-
'isp' => $event->result->isp,
51+
'isp' => $this->result->isp,
5252
'url' => url('/admin/results'),
5353
'metrics' => $this->metrics,
5454
],

0 commit comments

Comments
 (0)