summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
authorDavid Lu <david.lu97@outlook.com>2016-08-15 11:10:31 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-08-15 11:10:31 -0400
commitef33f3fcd1fec2b3552293f6cdb8045dcc7d214d (patch)
treeedf24fc65163a8abfeb73506d351605973918ac5 /webapp/utils/async_client.jsx
parent5e6af8e970829f683f7d80034a8af7bb36644c17 (diff)
downloadchat-ef33f3fcd1fec2b3552293f6cdb8045dcc7d214d.tar.gz
chat-ef33f3fcd1fec2b3552293f6cdb8045dcc7d214d.tar.bz2
chat-ef33f3fcd1fec2b3552293f6cdb8045dcc7d214d.zip
PLT-3005 Added confirmation screen to integrations (#3747)
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r--webapp/utils/async_client.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index 185fa5b4e..674741b82 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -1257,7 +1257,7 @@ export function addIncomingHook(hook, success, error) {
});
if (success) {
- success();
+ success(data);
}
},
(err) => {
@@ -1280,7 +1280,7 @@ export function addOutgoingHook(hook, success, error) {
});
if (success) {
- success();
+ success(data);
}
},
(err) => {
@@ -1374,7 +1374,7 @@ export function addCommand(command, success, error) {
});
if (success) {
- success();
+ success(data);
}
},
(err) => {