Skip to content

Commit

Permalink
Make sure header is sent in lower case
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Dec 6, 2024
1 parent 83e70c8 commit f43cf80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static WorkflowStub createNexusBoundStub(
(a, b) -> a,
() -> new TreeMap<>(String.CASE_INSENSITIVE_ORDER)));
if (!headers.containsKey(Header.OPERATION_ID)) {
headers.put(Header.OPERATION_ID, options.getWorkflowId());
headers.put(Header.OPERATION_ID.toLowerCase(), options.getWorkflowId());
}
WorkflowOptions.Builder nexusWorkflowOptions =
WorkflowOptions.newBuilder(options)
Expand Down

0 comments on commit f43cf80

Please sign in to comment.