diff options
Diffstat (limited to 'webapp/actions')
-rw-r--r-- | webapp/actions/team_actions.jsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/webapp/actions/team_actions.jsx b/webapp/actions/team_actions.jsx index 3352faa21..941ea880d 100644 --- a/webapp/actions/team_actions.jsx +++ b/webapp/actions/team_actions.jsx @@ -126,3 +126,19 @@ export function getInviteInfo(inviteId, success, error) { } ); } + +export function inviteMembers(data, success, error) { + Client.inviteMembers( + data, + () => { + if (success) { + success(); + } + }, + (err) => { + if (err) { + error(err); + } + } + ); +} |