Fix/marketplace collection templates limit (#36709)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Yawen
2026-05-27 12:07:27 +08:00
committed by GitHub
parent c544cec406
commit 08e7767f63

View File

@ -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)