From 48b073a03a79acf2cd0f2446a37557443a693c1a Mon Sep 17 00:00:00 2001 From: RoKKim Date: Sat, 20 Jan 2024 22:39:07 +0100 Subject: [PATCH] tracingHeader used --- .../java/io/smallrye/graphql/entry/http/ExecutionServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/implementation-servlet/src/main/java/io/smallrye/graphql/entry/http/ExecutionServlet.java b/server/implementation-servlet/src/main/java/io/smallrye/graphql/entry/http/ExecutionServlet.java index 000e3da22..513655a5d 100644 --- a/server/implementation-servlet/src/main/java/io/smallrye/graphql/entry/http/ExecutionServlet.java +++ b/server/implementation-servlet/src/main/java/io/smallrye/graphql/entry/http/ExecutionServlet.java @@ -146,7 +146,7 @@ private Map createContext(HttpServletRequest request) { Map context = new HashMap<>(); String tracingHeader = request.getHeader(FEDERATED_TRACING_HEADER_NAME); if (tracingHeader != null) { - context.put(FEDERATED_TRACING_HEADER_NAME, request.getHeader(FEDERATED_TRACING_HEADER_NAME)); + context.put(FEDERATED_TRACING_HEADER_NAME, tracingHeader); } return context; }