more fixes

This commit is contained in:
Moon Man 2023-12-31 00:30:45 -05:00
parent 9c2ce04ae1
commit 5170e7c60a
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ export const signedFetch = async (url: string, init: RequestInit, signedInit: Si
else throw "unsupported headers type"; // Lazy.
console.log("Headers:");
newHeaders.forEach((header) => console.log(header));
for (const [key, value] of newHeaders) {
console.log(`${key}: ${value}`);
}
return fetch(url, {
...init,