diff --git a/.changeset/neat-pears-lick.md b/.changeset/neat-pears-lick.md new file mode 100644 index 0000000..e54c1f1 --- /dev/null +++ b/.changeset/neat-pears-lick.md @@ -0,0 +1,5 @@ +--- +'@fleek-platform/sdk': patch +--- + +Fix Upload Proxy failing Authorization headers for Delete diff --git a/src/clients/uploadProxy.ts b/src/clients/uploadProxy.ts index bc2463c..f034edc 100644 --- a/src/clients/uploadProxy.ts +++ b/src/clients/uploadProxy.ts @@ -290,7 +290,7 @@ export class UploadProxyClient { return fetch(url, { method: 'DELETE', headers: { - Authorization: ` ${accessToken}`, + Authorization: `Bearer ${accessToken}`, }, }); };