Skip to content

Commit

Permalink
fix(grpc_metadata): keep ctx values in the context returned from `app…
Browse files Browse the repository at this point in the history
…end_to_outgoing_ctx/2`
  • Loading branch information
SergeTupchiy committed Nov 3, 2023
1 parent da0ab58 commit 252d66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grpcbox_metadata.erl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ new_incoming_ctx(Map) ->
ctx:with_value(md_incoming_key, new(Map)).

append_to_outgoing_ctx(Ctx, Map) ->
ctx:with_value(md_outgoing_key, join([from_outgoing_ctx(Ctx), new(Map)])).
ctx:with_value(Ctx, md_outgoing_key, join([from_outgoing_ctx(Ctx), new(Map)])).

-spec pairs([{key(), value()}]) -> t().
pairs(List) ->
Expand Down

0 comments on commit 252d66e

Please sign in to comment.