diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-01-27 11:39:13 +0100 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-01-27 10:39:13 +0000 |
commit | d72547433af3ec5829ce0de4f4e1cfd440be7142 (patch) | |
tree | 6bd7664e9058468842c7b7bb7c7a76abf1b7c5e3 /webapp/components/integrations | |
parent | 49c677f6b46409289210abc0e0bda63735be3e9f (diff) | |
download | chat-d72547433af3ec5829ce0de4f4e1cfd440be7142.tar.gz chat-d72547433af3ec5829ce0de4f4e1cfd440be7142.tar.bz2 chat-d72547433af3ec5829ce0de4f4e1cfd440be7142.zip |
Move remaining client functions in components to actions (#5171)
Diffstat (limited to 'webapp/components/integrations')
-rw-r--r-- | webapp/components/integrations/components/installed_oauth_app.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/integrations/components/installed_oauth_app.jsx b/webapp/components/integrations/components/installed_oauth_app.jsx index 15a79ed4c..a6dea65bf 100644 --- a/webapp/components/integrations/components/installed_oauth_app.jsx +++ b/webapp/components/integrations/components/installed_oauth_app.jsx @@ -5,10 +5,10 @@ import React from 'react'; import FormError from 'components/form_error.jsx'; -import Client from 'client/web_client.jsx'; import * as Utils from 'utils/utils.jsx'; import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; +import {regenerateOAuthAppSecret} from 'actions/admin_actions.jsx'; const FAKE_SECRET = '***************'; @@ -49,7 +49,7 @@ export default class InstalledOAuthApp extends React.Component { handleRegenerate(e) { e.preventDefault(); - Client.regenerateOAuthAppSecret( + regenerateOAuthAppSecret( this.props.oauthApp.id, (data) => { this.props.oauthApp.client_secret = data.client_secret; |