mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 21:18:57 +08:00
Correcting bug in fetchAssets.
This commit is contained in:
@@ -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}) =>
|
||||
|
||||
Reference in New Issue
Block a user