summaryrefslogtreecommitdiffstats
path: root/webapp/actions/team_actions.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions/team_actions.jsx')
-rw-r--r--webapp/actions/team_actions.jsx16
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);
+ }
+ }
+ );
+}