Skip to content

Commit

Permalink
web: Get bearer tokens for all object operations
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Petrov <[email protected]>
  • Loading branch information
mike-petrov committed Feb 1, 2024
1 parent 7b17981 commit 2cd5970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export const App = () => {
onModal('failed', 'Something went wrong, try again');
}
});
if (type === 'object' && operation === 'GET') {
if (type === 'object') {
api('GET', '/auth/bearer?walletConnect=true', {}, {
[ContentTypeHeader]: "application/json",
[AuthorizationHeader]: `Bearer ${msg}`,
Expand Down

0 comments on commit 2cd5970

Please sign in to comment.