diff --git a/frontend/src/mothership.js b/frontend/src/mothership.js index 2629a3b..f5902a2 100644 --- a/frontend/src/mothership.js +++ b/frontend/src/mothership.js @@ -54,4 +54,8 @@ exports.removeFromWorkspace = function removeFromWorkspace(params) { return client.post('/removeFromWorkspace', { workspaceId: window.MONGOOSE_STUDIO_CONFIG.workspace._id, ...params }).then(res => res.data); }; +exports.updateWorkspaceMember = function updateWorkspaceMember(params) { + return client.post('/updateWorkspaceMember', { workspaceId: window.MONGOOSE_STUDIO_CONFIG.workspace._id, ...params }).then(res => res.data); +}; + exports.hasAPIKey = client.hasAPIKey; diff --git a/frontend/src/team/team.html b/frontend/src/team/team.html index 0e96920..c4e01d3 100644 --- a/frontend/src/team/team.html +++ b/frontend/src/team/team.html @@ -64,9 +64,13 @@