Skip to content

Commit

Permalink
need to pass the header name, not the value
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Feb 9, 2024
1 parent 875366a commit 49b5ff6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public async Task HandleRecordRequestAsync(string recordingId, HttpRequest incom

var sanitizers = session.AdditionalSanitizers.Count > 0 ? Sanitizers.Concat(session.AdditionalSanitizers) : Sanitizers;

DebugLogger.LogRequestDetails(incomingRequest, sanitizers);
DebugLogger.LogRequestDetails(incomingRequest, sanitizers, new List<string>() { "x-recording-id" });

(RecordEntry entry, byte[] requestBody) = await CreateEntryAsync(incomingRequest).ConfigureAwait(false);

Expand Down Expand Up @@ -456,7 +456,7 @@ public async Task HandlePlaybackRequest(string recordingId, HttpRequest incoming

var sanitizers = session.AdditionalSanitizers.Count > 0 ? Sanitizers.Concat(session.AdditionalSanitizers) : Sanitizers;

DebugLogger.LogRequestDetails(incomingRequest, sanitizers, new List<string>() { recordingId });
DebugLogger.LogRequestDetails(incomingRequest, sanitizers, new List<string>() { "x-recording-id" });

var entry = (await CreateEntryAsync(incomingRequest).ConfigureAwait(false)).Item1;

Expand Down

0 comments on commit 49b5ff6

Please sign in to comment.