Ensure our jobs are storing objects without relations
This commit is contained in:
@@ -38,8 +38,8 @@ class AddressPoll implements ShouldQueue, ShouldBeUnique
|
||||
|
||||
public function __construct(Address $ao,Mailer $mo=NULL)
|
||||
{
|
||||
$this->ao = $ao;
|
||||
$this->mo = $mo;
|
||||
$this->ao = $ao->withoutRelations();
|
||||
$this->mo = $mo?->withoutRelations();
|
||||
|
||||
$this->onQueue(self::QUEUE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user