Skip to content

Commit

Permalink
feat: subscribe to otganization
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Mar 22, 2022
1 parent 1a10f7e commit 0012f7c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/store/actions/climateWarehouseActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ export const subscribeToOrg = orgUid => {

const payload = {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ orgUid }),
};

Expand Down Expand Up @@ -787,6 +790,9 @@ export const unsubscribeFromOrg = orgUid => {

const payload = {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ orgUid }),
};

Expand Down Expand Up @@ -820,6 +826,9 @@ export const subscribeImportOrg = orgUid => {

const payload = {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ orgUid }),
};

Expand Down

0 comments on commit 0012f7c

Please sign in to comment.