mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 12:59:09 +08:00
chore: replace marketplace search api (#13963)
This commit is contained in:
parent
15a56f705f
commit
6fc234183a
@ -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/advanced`, {
|
return postMarketplace<{ data: PluginsFromMarketplaceResponse }>(`/${pluginOrBundle}/search/basic`, {
|
||||||
body: {
|
body: {
|
||||||
page,
|
page,
|
||||||
page_size: pageSize,
|
page_size: pageSize,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user