Skip to content

Commit

Permalink
fix: 🐛 Upload Proxy failing Authorization (#12)
Browse files Browse the repository at this point in the history
* chore: 🤖 add bearer to http headers auth

* chore: 🤖 changeset
  • Loading branch information
heldrida authored Nov 5, 2024
1 parent fca1377 commit f410b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-pears-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@fleek-platform/sdk': patch
---

Fix Upload Proxy failing Authorization headers for Delete
2 changes: 1 addition & 1 deletion src/clients/uploadProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class UploadProxyClient {
return fetch(url, {
method: 'DELETE',
headers: {
Authorization: ` ${accessToken}`,
Authorization: `Bearer ${accessToken}`,
},
});
};
Expand Down

0 comments on commit f410b68

Please sign in to comment.