|
|
@@ -18,7 +18,7 @@ export function getAssets (query) {
|
|
|
currentPage, pageCount,
|
|
|
...params
|
|
|
})
|
|
|
- }).then(({ data, totoalCount }) => {
|
|
|
+ }).then(({ data, totalCount }) => {
|
|
|
data.forEach(item => {
|
|
|
if (item.type === AssetType.IMAGE) {
|
|
|
item.thumbnail = item.keyName
|
|
|
@@ -29,7 +29,7 @@ export function getAssets (query) {
|
|
|
})
|
|
|
return {
|
|
|
data,
|
|
|
- totoalCount
|
|
|
+ totalCount
|
|
|
}
|
|
|
})
|
|
|
}
|