Skip to content

Commit e367898

Browse files
author
groall
committed
fix getMessages
1 parent 002a33a commit e367898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/RabbitMqHttpApiClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ public function getMessages($vhost, $queue, array $options)
425425
'Content-Length: ' . strlen($dataString),
426426
]);
427427

428-
return $this->requestPost('queues' . urlencode($vhost) . '/' . urlencode($queue) . '/get');
428+
return $this->requestPost('queues/' . urlencode($vhost) . '/' . urlencode($queue) . '/get');
429429
}
430430

431431
/**

0 commit comments

Comments
 (0)