fix: marketplace search url (#14061)

This commit is contained in:
zxhlyh 2025-02-20 10:00:04 +08:00 committed by GitHub
parent d96c368660
commit f3fe14863d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,7 +326,7 @@ export const useMutationPluginsFromMarketplace = () => {
pageSize = 40, pageSize = 40,
} = pluginsSearchParams } = pluginsSearchParams
const pluginOrBundle = type === 'bundle' ? 'bundles' : 'plugins' const pluginOrBundle = type === 'bundle' ? 'bundles' : 'plugins'
return postMarketplace<{ data: PluginsFromMarketplaceResponse }>(`/${pluginOrBundle}/search/basic`, { return postMarketplace<{ data: PluginsFromMarketplaceResponse }>(`/${pluginOrBundle}/search/advanced`, {
body: { body: {
page, page,
page_size: pageSize, page_size: pageSize,