From d69ccad7593c75ff8c51bf7b698d53214d3f5361 Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Tue, 12 Mar 2024 13:36:08 -0400 Subject: [PATCH 1/2] fix: add api key to signin from local --- src/store/actions/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/store/actions/app.js b/src/store/actions/app.js index d58f56e6..0a5741e1 100644 --- a/src/store/actions/app.js +++ b/src/store/actions/app.js @@ -171,6 +171,10 @@ export const signInFromLocalStorage = () => { try { const response = await fetch(`${serverAddress}/v1/organizations`, { method: 'HEAD', + headers: { + 'Content-Type': 'application/json', + 'x-api-key': apiKey, + }, }); if (response.status !== 200) { console.error(`Server returned status: ${response.status}`); From c5f034c08042bc89869a03e46dbbef5d9081a650 Mon Sep 17 00:00:00 2001 From: Zachary Brown Date: Tue, 12 Mar 2024 11:08:46 -0700 Subject: [PATCH 2/2] chore: version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6713ef2b..29b535cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "core-registry-cadt-ui", - "version": "1.3.6", + "version": "1.3.7", "private": true, "author": "Chia Network Inc. ", "homepage": "./",