mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-05 00:59:49 +00:00
fix: sections loading error
This commit is contained in:
parent
851281b2f3
commit
342dae0237
1 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@
|
|||
}).map(({ media }) => media.id)
|
||||
return alRequest({ method: 'SearchIDS', page, perPage, id: ids })
|
||||
})
|
||||
return manager.wrapResponse(res, perPage)
|
||||
return Sections.wrapResponse(res, perPage)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
}).map(({ node }) => node.id)
|
||||
return alRequest({ method: 'SearchIDS', page, perPage, id: ids, status: ['FINISHED', 'RELEASING'], onList: false })
|
||||
})
|
||||
return manager.wrapResponse(res, perPage)
|
||||
return Sections.wrapResponse(res, perPage)
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
const ids = res.data.MediaListCollection.lists.find(({ status }) => status === 'PLANNING').entries.map(({ media }) => media.id)
|
||||
return alRequest({ method: 'SearchIDS', page, perPage, id: ids })
|
||||
})
|
||||
return manager.wrapResponse(res, perPage)
|
||||
return Sections.wrapResponse(res, perPage)
|
||||
}
|
||||
}
|
||||
])
|
||||
|
|
|
|||
Loading…
Reference in a new issue