From bbd0a8042499e696ece8c42a711fc549d8821dc9 Mon Sep 17 00:00:00 2001 From: kyle-ssg Date: Tue, 5 Nov 2024 14:42:20 +0000 Subject: [PATCH] Fix organisation meta --- frontend/common/stores/organisation-store.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, + ), ] : [], ),