diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-26 08:16:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 08:16:57 -0400 |
commit | 23ccfc845ca2350075f6027e16c6206fc7b71716 (patch) | |
tree | 3fd1f896a5a24b43913be03b21c85638dd7c356e /webapp/components/get_public_link_modal.jsx | |
parent | fe7e9d95b30ae2195fcba68db960866db91ce045 (diff) | |
download | chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.gz chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.bz2 chat-23ccfc845ca2350075f6027e16c6206fc7b71716.zip |
Move remaining actions over to use redux and v4 endpoints (#6720)
Diffstat (limited to 'webapp/components/get_public_link_modal.jsx')
-rw-r--r-- | webapp/components/get_public_link_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/get_public_link_modal.jsx b/webapp/components/get_public_link_modal.jsx index b2903da87..90e2271bb 100644 --- a/webapp/components/get_public_link_modal.jsx +++ b/webapp/components/get_public_link_modal.jsx @@ -3,7 +3,7 @@ import React from 'react'; -import * as AsyncClient from 'utils/async_client.jsx'; +import {getPublicLink} from 'actions/file_actions.jsx'; import Constants from 'utils/constants.jsx'; import ModalStore from 'stores/modal_store.jsx'; import PureRenderMixin from 'react-addons-pure-render-mixin'; @@ -34,7 +34,7 @@ export default class GetPublicLinkModal extends React.Component { componentDidUpdate(prevProps, prevState) { if (this.state.show && !prevState.show) { - AsyncClient.getPublicLink(this.state.fileId, this.handlePublicLink); + getPublicLink(this.state.fileId, this.handlePublicLink); } } |