Skip to content

Commit

Permalink
Clean up debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
nalanj committed Jan 15, 2025
1 parent 5c1d560 commit 94b3f34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/cli/lib/services/response-saver.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,10 @@ function computeConfigIdentity(config: AxiosRequestConfig): ConfigIdentity {
const url = new URL(config.url!);
const endpoint = url.pathname.replace(/^\/proxy\//, '');

console.debug('Processing', method, endpoint);
const dataIdentity = computeDataIdentity(config);

let headers: [string, string][] = [];
if (config.headers !== undefined) {
console.debug(Object.entries(config.headers));
const filteredHeaders = Object.entries(config.headers)
.map<[string, string]>(([key, value]) => (key.toLowerCase().startsWith('nango-proxy-') ? [key.slice(12), String(value)] : [key, String(value)]))
.filter(([key]) => !FILTER_HEADERS.includes(key.toLowerCase()));
Expand Down

0 comments on commit 94b3f34

Please sign in to comment.