From 0012f7cad656f5d94d10504517bc2f913be529ca Mon Sep 17 00:00:00 2001 From: Daniel Stefan Date: Tue, 22 Mar 2022 13:01:55 +0200 Subject: [PATCH] feat: subscribe to otganization --- src/store/actions/climateWarehouseActions.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/store/actions/climateWarehouseActions.js b/src/store/actions/climateWarehouseActions.js index 3f09d902..2e9ebb20 100644 --- a/src/store/actions/climateWarehouseActions.js +++ b/src/store/actions/climateWarehouseActions.js @@ -754,6 +754,9 @@ export const subscribeToOrg = orgUid => { const payload = { method: 'PUT', + headers: { + 'Content-Type': 'application/json', + }, body: JSON.stringify({ orgUid }), }; @@ -787,6 +790,9 @@ export const unsubscribeFromOrg = orgUid => { const payload = { method: 'PUT', + headers: { + 'Content-Type': 'application/json', + }, body: JSON.stringify({ orgUid }), }; @@ -820,6 +826,9 @@ export const subscribeImportOrg = orgUid => { const payload = { method: 'PUT', + headers: { + 'Content-Type': 'application/json', + }, body: JSON.stringify({ orgUid }), };