diff --git a/src/redux/preview.js b/src/redux/preview.js index c464b1130..1cdddc493 100644 --- a/src/redux/preview.js +++ b/src/redux/preview.js @@ -404,11 +404,10 @@ module.exports.getProjectStudios = id => (dispatch => { }); }); -module.exports.getCuratedStudios = (username, token) => (dispatch => { +module.exports.getCuratedStudios = (username) => (dispatch => { dispatch(module.exports.setFetchStatus('curatedStudios', module.exports.Status.FETCHING)); api({ - uri: `/users/${username}/studios/curate`, - authentication: token + uri: `/users/${username}/studios/curate` }, (err, body, res) => { if (err) { dispatch(module.exports.setFetchStatus('curatedStudios', module.exports.Status.ERROR)); diff --git a/src/views/preview/preview.jsx b/src/views/preview/preview.jsx index 099e0f6cd..8f158a1b2 100644 --- a/src/views/preview/preview.jsx +++ b/src/views/preview/preview.jsx @@ -76,7 +76,7 @@ class Preview extends React.Component { this.props.getProjectInfo(this.state.projectId, token); this.props.getRemixes(this.state.projectId, token); this.props.getProjectStudios(this.state.projectId, token); - this.props.getCuratedStudios(username, token); + this.props.getCuratedStudios(username); this.props.getFavedStatus(this.state.projectId, username, token); this.props.getLovedStatus(this.state.projectId, username, token); } else {