summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-05-12 12:11:02 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-12 12:11:02 -0400
commitd1efb66ad7b017f0fbfe6f0c20843b30f396e504 (patch)
tree5b48a38382015de815b2d45d58836c5ca06b631c /webapp/utils/async_client.jsx
parent3f0325fd223dcb3a6eec92f772df1e7541ab0b2b (diff)
parent9a701b7e5b31ca803a2d92f0b3b1d7cc68bf3c37 (diff)
downloadchat-d1efb66ad7b017f0fbfe6f0c20843b30f396e504.tar.gz
chat-d1efb66ad7b017f0fbfe6f0c20843b30f396e504.tar.bz2
chat-d1efb66ad7b017f0fbfe6f0c20843b30f396e504.zip
Merge branch 'release-3.0'
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r--webapp/utils/async_client.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index a562964b1..6535c024d 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -1145,6 +1145,7 @@ export function listIncomingHooks() {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_INCOMING_WEBHOOKS,
+ teamId: Client.teamId,
incomingWebhooks: data
});
},
@@ -1168,6 +1169,7 @@ export function listOutgoingHooks() {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_OUTGOING_WEBHOOKS,
+ teamId: Client.teamId,
outgoingWebhooks: data
});
},
@@ -1230,6 +1232,7 @@ export function deleteIncomingHook(id) {
() => {
AppDispatcher.handleServerAction({
type: ActionTypes.REMOVED_INCOMING_WEBHOOK,
+ teamId: Client.teamId,
id
});
},
@@ -1245,6 +1248,7 @@ export function deleteOutgoingHook(id) {
() => {
AppDispatcher.handleServerAction({
type: ActionTypes.REMOVED_OUTGOING_WEBHOOK,
+ teamId: Client.teamId,
id
});
},
@@ -1282,6 +1286,7 @@ export function listTeamCommands() {
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_COMMANDS,
+ teamId: Client.teamId,
commands: data
});
},
@@ -1321,6 +1326,7 @@ export function deleteCommand(id) {
() => {
AppDispatcher.handleServerAction({
type: ActionTypes.REMOVED_COMMAND,
+ teamId: Client.teamId,
id
});
},