Skip to content

Commit

Permalink
chore: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-valenta committed Dec 22, 2020
1 parent 9b77818 commit 588f60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ export const HttpClient = {
});
}
debug('Executing HTTP Call');
debug(`\t${params.method} ${finalUrl} HTTP/1.1`);
debug(`\t${params.method || 'UNKNOWN METHOD'} ${finalUrl} HTTP/1.1`);
Object.entries(requestHeaders).forEach(([headerName, value]) =>
debug(`\t${headerName}: ${value}`)
);
if (params.body) {
debug(`\n\t${params.body}`);
debug(`\n\t${params.body.toString()}`);
}
const response = await fetch(finalUrl, params);

Expand Down

0 comments on commit 588f60d

Please sign in to comment.