mirror of https://github.com/langgenius/dify.git
chore: replace marketplace search api (#13963)
This commit is contained in:
parent
15a56f705f
commit
6fc234183a
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue