diff --git a/frontend/common/stores/organisation-store.js b/frontend/common/stores/organisation-store.js index a4796322e4c4..af4cd739af0c 100644 --- a/frontend/common/stores/organisation-store.js +++ b/frontend/common/stores/organisation-store.js @@ -140,7 +140,9 @@ const controller = { AccountStore.getOrganisationRole(id) === 'ADMIN' ? [ data.get(`${Project.api}organisations/${id}/invites/`), - getSubscriptionMetadata(getStore(), { id }), + getSubscriptionMetadata(getStore(), { id }).then( + (res) => res.data, + ), ] : [], ),