Correcting bug in fetchAssets.

This commit is contained in:
David Jay
2016-12-21 12:05:25 -08:00
parent 55f58beced
commit cfed42be2c
+1 -1
View File
@@ -14,7 +14,7 @@ import coralApi from '../../../coral-framework/helpers/response';
// Fetch a page of assets
// Get comments to fill each of the three lists on the mod queue
export const fetchAssets = (skip, limit, sort, search, filter) => (dispatch) => {
export const fetchAssets = (skip, limit, search, sort, filter) => (dispatch) => {
dispatch({type: FETCH_ASSETS});
return coralApi(`/assets?skip=${skip || ''}&limit=${limit || ''}&sort=${sort || ''}&search=${search || ''}&filter=${filter || ''}`)
.then(({result, count}) =>