Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(catalog): note the 51-product cap on productCount on Baileys

Yudhi Armyndharisdbfe2632b493
diff --git a/src/modules/catalog/dto/catalog-response.dto.ts b/src/modules/catalog/dto/catalog-response.dto.ts
index 502dd5c0e..38d0e80fb 100644
--- a/src/modules/catalog/dto/catalog-response.dto.ts
+++ b/src/modules/catalog/dto/catalog-response.dto.ts
@@ -21,7 +21,10 @@ export class CatalogDto {
@ApiPropertyOptional({ description: 'Collection description, when the engine reports one.' })
description?: string;
- @ApiProperty({ description: 'How many products the first collection holds.', example: 12 })
+ @ApiProperty({
+ description: 'How many products the first collection holds, counting at most the first 51 on Baileys.',
+ example: 12,
+ })
productCount!: number;
@ApiProperty({ description: 'Public catalog link for the account.', example: 'https://wa.me/c/628123456789' })