mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
fix: plugin search api url (#12977)
This commit is contained in:
@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user