Skip to content

Commit

Permalink
Use passed priority if set instead of default
Browse files Browse the repository at this point in the history
  • Loading branch information
iwiznia committed Dec 2, 2024
1 parent ab10b11 commit b1aa677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public function call($method, $headers = [], $body = '')
$headers['mockRequest'] = true;
}

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

Expand Down

0 comments on commit b1aa677

Please sign in to comment.