From ef10c24d161bd2a38e4984de27f9b5f443a4994f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 3 Nov 2018 21:53:46 -0600 Subject: [PATCH] Update InboxWorker --- app/Jobs/InboxPipeline/InboxWorker.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Jobs/InboxPipeline/InboxWorker.php b/app/Jobs/InboxPipeline/InboxWorker.php index d5dad317..4726d9af 100644 --- a/app/Jobs/InboxPipeline/InboxWorker.php +++ b/app/Jobs/InboxPipeline/InboxWorker.php @@ -14,7 +14,7 @@ class InboxWorker implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - protected $request; + protected $headers; protected $profile; protected $payload; @@ -23,9 +23,9 @@ class InboxWorker implements ShouldQueue * * @return void */ - public function __construct($request, Profile $profile, $payload) + public function __construct($headers, $profile, $payload) { - $this->request = $request; + $this->headers = $headers; $this->profile = $profile; $this->payload = $payload; } @@ -37,6 +37,6 @@ class InboxWorker implements ShouldQueue */ public function handle() { - (new Inbox($this->request, $this->profile, $this->payload))->handle(); + (new Inbox($this->headers, $this->profile, $this->payload))->handle(); } }