mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 03:36:36 +08:00
fix: plugin search api url (#12977)
This commit is contained in:
parent
5f0fa38ec6
commit
8d8d3e3f2f
@ -306,7 +306,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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user