fix: plugin search api url (#12977)

pull/13014/head
zxhlyh 1 year ago committed by GitHub
parent 5f0fa38ec6
commit 8d8d3e3f2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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,

Loading…
Cancel
Save