more fixes
This commit is contained in:
parent
9c2ce04ae1
commit
5170e7c60a
|
@ -64,7 +64,9 @@ export const signedFetch = async (url: string, init: RequestInit, signedInit: Si
|
||||||
else throw "unsupported headers type"; // Lazy.
|
else throw "unsupported headers type"; // Lazy.
|
||||||
|
|
||||||
console.log("Headers:");
|
console.log("Headers:");
|
||||||
newHeaders.forEach((header) => console.log(header));
|
for (const [key, value] of newHeaders) {
|
||||||
|
console.log(`${key}: ${value}`);
|
||||||
|
}
|
||||||
|
|
||||||
return fetch(url, {
|
return fetch(url, {
|
||||||
...init,
|
...init,
|
||||||
|
|
Loading…
Reference in New Issue