From ef33f3fcd1fec2b3552293f6cdb8045dcc7d214d Mon Sep 17 00:00:00 2001
From: David Lu <david.lu97@outlook.com>
Date: Mon, 15 Aug 2016 11:10:31 -0400
Subject: PLT-3005 Added confirmation screen to integrations (#3747)

---
 webapp/utils/async_client.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'webapp/utils/async_client.jsx')

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) => {
-- 
cgit v1.2.3-1-g7c22

