Skip to content

Commit b2c4c25

Browse files
authored
[Bug] Fixed updating the result record when a test fails (alexjustesen#1443)
1 parent a1e8db7 commit b2c4c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/Speedtests/ExecuteOoklaSpeedtest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function handle(): void
5858

5959
$message = collect(array_filter($messages, 'json_validate'))->last();
6060

61-
Result::create([
61+
$this->result->update([
6262
'data' => json_decode($message, true),
6363
'status' => ResultStatus::Failed,
6464
]);

0 commit comments

Comments
 (0)