Skip to content

Commit 88f6bdd

Browse files
authored
[Bug] Capture 1 or true for successful status (alexjustesen#1181)
1 parent acaf755 commit 88f6bdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Actions/MigrateBadJsonResults.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function handle(User $user)
7070
'data' => json_decode($result->data),
7171
'status' => match ($result->successful) {
7272
1 => ResultStatus::Completed,
73+
true => ResultStatus::Completed,
7374
default => ResultStatus::Failed,
7475
},
7576
'scheduled' => $result->scheduled,

0 commit comments

Comments
 (0)