Skip to content

Commit 01da21e

Browse files
authored
Merge pull request #81 from ejntaylor/fix-property
Access model properties in ActionJob
2 parents e49c81a + e0b9815 commit 01da21e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ActionJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected function resolveQueueableProperties($action)
148148

149149
foreach ($queueableProperties as $queueableProperty) {
150150
if (property_exists($action, $queueableProperty)) {
151-
$this->{$queueableProperty} = $action->{$queueableProperty};
151+
$this->{$queueableProperty} = app($action)->{$queueableProperty};
152152
}
153153
}
154154
}

0 commit comments

Comments
 (0)