chore: replace marketplace search api (#13963)

This commit is contained in:
zxhlyh 2025-02-18 21:37:11 +08:00 committed by GitHub
parent 15a56f705f
commit 6fc234183a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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