authoriZation signature header
This commit is contained in:
parent
5170e7c60a
commit
3544c61468
|
@ -47,7 +47,7 @@ export const signedFetch = async (url: string, init: RequestInit, signedInit: Si
|
||||||
headers: signedHeaders
|
headers: signedHeaders
|
||||||
});
|
});
|
||||||
|
|
||||||
newHeaders.set("Signature", signature);
|
newHeaders.set("Authorization", `Signature ${signature}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Array.isArray(init.headers) || !init.headers) {
|
if (Array.isArray(init.headers) || !init.headers) {
|
||||||
|
|
Loading…
Reference in New Issue