fix: marketplace list

This commit is contained in:
StyleZhang
2024-12-05 14:54:04 +08:00
parent 0e419a7a16
commit 0e70e72594
7 changed files with 131 additions and 146 deletions

View File

@ -298,11 +298,12 @@ export const useMutationPluginsFromMarketplace = () => {
exclude,
type,
page = 1,
pageSize = 20,
} = pluginsSearchParams
return postMarketplace<{ data: PluginsFromMarketplaceResponse }>('/plugins/search/basic', {
body: {
page,
page_size: 100,
page_size: pageSize,
query,
sort_by: sortBy,
sort_order: sortOrder,