Skip to content

Commit 1da5399

Browse files
authored
bug: fix completed mail (alexjustesen#2692)
1 parent d2c74c0 commit 1da5399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Mail/CompletedSpeedtestMail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function content(): Content
5151
'ping' => round($this->result->ping, 2).' ms',
5252
'download' => Number::toBitRate(bits: $this->result->download_bits, precision: 2),
5353
'upload' => Number::toBitRate(bits: $this->result->upload_bits, precision: 2),
54-
'packetLoss' => $result->packet_loss ? round($result->packet_loss, precision: 2) : '',
54+
'packetLoss' => $this->result->packet_loss ? round($this->result->packet_loss, precision: 2) : '',
5555
'speedtest_url' => $this->result->result_url,
5656
'url' => url('/admin/results'),
5757
],

0 commit comments

Comments
 (0)