mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 17:39:06 +08:00
fix: marketplace search url (#14061)
This commit is contained in:
parent
d96c368660
commit
f3fe14863d
@ -326,7 +326,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…
x
Reference in New Issue
Block a user