From c2fdc5b3e3485a22e8599e904800ca8c238a11b8 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Tue, 5 Nov 2024 14:44:45 +0000 Subject: [PATCH] fix: Fix organisation meta (#4802) --- 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, + ), ] : [], ),