fix: plugin search api url (#12977)

This commit is contained in:
zxhlyh 2025-01-23 14:25:24 +08:00 committed by GitHub
parent 5f0fa38ec6
commit 8d8d3e3f2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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