From 2cd5970a1f0b7c1889c550fbd036c9bfdd9fb33f Mon Sep 17 00:00:00 2001 From: Mikhail Petrov Date: Thu, 1 Feb 2024 18:58:43 +0300 Subject: [PATCH] web: Get bearer tokens for all object operations Signed-off-by: Mikhail Petrov --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index b93e233..ae4b067 100644 --- a/src/App.js +++ b/src/App.js @@ -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}`,