diff options
Diffstat (limited to 'webapp/components/integrations/components/installed_outgoing_webhooks.jsx')
-rw-r--r-- | webapp/components/integrations/components/installed_outgoing_webhooks.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/integrations/components/installed_outgoing_webhooks.jsx b/webapp/components/integrations/components/installed_outgoing_webhooks.jsx index 4f39b0f05..9b8baf3f4 100644 --- a/webapp/components/integrations/components/installed_outgoing_webhooks.jsx +++ b/webapp/components/integrations/components/installed_outgoing_webhooks.jsx @@ -9,7 +9,7 @@ import IntegrationStore from 'stores/integration_store.jsx'; import TeamStore from 'stores/team_store.jsx'; import UserStore from 'stores/user_store.jsx'; -import {loadOutgoingHooks, regenOutgoingHookToken, deleteOutgoingHook} from 'actions/integration_actions.jsx'; +import {loadOutgoingHooksForTeam, regenOutgoingHookToken, deleteOutgoingHook} from 'actions/integration_actions.jsx'; import * as Utils from 'utils/utils.jsx'; @@ -49,7 +49,7 @@ export default class InstalledOutgoingWebhooks extends React.Component { UserStore.addChangeListener(this.handleUserChange); if (window.mm_config.EnableOutgoingWebhooks === 'true') { - loadOutgoingHooks(() => this.setState({loading: false})); + loadOutgoingHooksForTeam(TeamStore.getCurrentId(), () => this.setState({loading: false})); } } |