logging
This commit is contained in:
parent
53faaf4887
commit
960c466f97
|
@ -59,11 +59,11 @@ export const signedFetch = async (url: string, init: RequestInit, signedInit: Si
|
|||
for (const [key, value] of signedHeaders) {
|
||||
newHeaders.set(key, value);
|
||||
}
|
||||
|
||||
init.headers = newHeaders;
|
||||
}
|
||||
else throw "unsupported headers type"; // Lazy.
|
||||
|
||||
console.log(init.body, Headers.toString());
|
||||
|
||||
return fetch(url, {
|
||||
...init,
|
||||
headers: newHeaders
|
||||
|
|
Loading…
Reference in New Issue