Skip to content

Commit b1aa677

Browse files
committed
Use passed priority if set instead of default
1 parent ab10b11 commit b1aa677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public function call($method, $headers = [], $body = '')
336336
$headers['mockRequest'] = true;
337337
}
338338

339-
if ($this->commandPriority) {
339+
if ($this->commandPriority && !isset($headers['priority'])) {
340340
$headers['priority'] = $this->commandPriority;
341341
}
342342

0 commit comments

Comments
 (0)