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

Commit bd7376f

Browse files
committed
Merge branch 'master' into v5.7.7
2 parents 49d0aca + 9b4fa0e commit bd7376f

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
@@ -77,7 +77,10 @@ public function pushRaw($payload, $queue = null, array $options = [])
7777
{
7878
$queue = $this->getQueue($queue);
7979

80-
return $this->client->post("{$queue}", ['body' => $payload]);
80+
return $this->client->post("{$queue}", [
81+
'body' => $payload,
82+
'headers' => ['Content-Type' => 'application/json'],
83+
]);
8184
}
8285

8386
/**

0 commit comments

Comments
 (0)