mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update InboxWorker
This commit is contained in:
parent
4ae6cb4307
commit
ef10c24d16
1 changed files with 4 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue