summaryrefslogtreecommitdiffstats
path: root/webapp/actions
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/actions')
-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 aa8628ba3..3352faa21 100644
--- a/webapp/actions/team_actions.jsx
+++ b/webapp/actions/team_actions.jsx
@@ -110,3 +110,19 @@ export function addUserToTeamFromInvite(data, hash, inviteId, success, error) {
}
);
}
+
+export function getInviteInfo(inviteId, success, error) {
+ Client.getInviteInfo(
+ inviteId,
+ (inviteData) => {
+ if (success) {
+ success(inviteData);
+ }
+ },
+ (err) => {
+ if (error) {
+ error(err);
+ }
+ }
+ );
+}