mirror of
https://github.com/langgenius/dify.git
synced 2026-05-27 20:36:18 +08:00
Fix/marketplace collection templates limit (#36709)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@ -205,7 +205,7 @@ export const getMarketplaceTemplateCollectionsAndTemplates = async (
|
||||
try {
|
||||
const templatesRes = await marketplaceClient.templateCollections.getTemplates({
|
||||
params: { collectionName: collection.name },
|
||||
body: { limit: 20 },
|
||||
body: { limit: 100 },
|
||||
}, { signal: options?.signal })
|
||||
const templatesData = templatesRes.data?.templates || []
|
||||
templateCollectionTemplatesMap[collection.name] = templatesData.map(mapTemplateDetailToTemplate)
|
||||
|
||||
Reference in New Issue
Block a user