diff options
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); } } |