This is an automated email from the ASF dual-hosted git repository.
isjarana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-custos-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 73c2236 Fixed the sharing endpoint
new 301a7db Merge pull request #157 from
dinukadesilva/adding-maintenance-page
73c2236 is described below
commit 73c223637b4b2ed0c1f394b0ad972cd6a60f74d8
Author: Dinuka De Silva <[email protected]>
AuthorDate: Fri Oct 14 13:19:47 2022 -0400
Fixed the sharing endpoint
---
src/lib/store/modules/sharing.store.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/store/modules/sharing.store.js
b/src/lib/store/modules/sharing.store.js
index bd5ab2e..9a4cc5f 100644
--- a/src/lib/store/modules/sharing.store.js
+++ b/src/lib/store/modules/sharing.store.js
@@ -62,8 +62,8 @@ const actions = {
},
async fetchSharedOwners({commit}, {clientId, entityId}) {
let entitySharedUsersList = await
custosService.sharing.getSharedOwners({clientId, entityId});
- entitySharedUsersList = entitySharedUsersList.map(({owner_id,
owner_type, permission}) => {
- return {ownerId: owner_id, ownerType: owner_type, permission:
permission};
+ entitySharedUsersList = entitySharedUsersList.map(({owner_id,
owner_type, permissions}) => {
+ return {ownerId: owner_id, ownerType: owner_type, permissions:
permissions};
});
commit('SET_ENTITY_SHARED_USERS_LIST_MAP', {entityId,
entitySharedUsersList});
},