Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Commit 9b4fa0e

Browse files
committed
Fix content type of job request
1 parent 81195a3 commit 9b4fa0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/RemoteQueue.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ public function pushRaw($payload, $queue = null, array $options = [])
7575
{
7676
$queue = $this->getQueue($queue);
7777

78-
return $this->client->post("{$queue}", ['body' => $payload]);
78+
return $this->client->post("{$queue}", [
79+
'body' => $payload,
80+
'headers' => ['Content-Type' => 'application/json'],
81+
]);
7982
}
8083

8184
/**

0 commit comments

Comments
 (0)