Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(contact): correct the addressbook name cap comment

Yudhi Armyndharis62cbaccddf4b
diff --git a/src/modules/contact/dto/upsert-contact.dto.ts b/src/modules/contact/dto/upsert-contact.dto.ts
index 58bcd5b07..f27342df0 100644
--- a/src/modules/contact/dto/upsert-contact.dto.ts
+++ b/src/modules/contact/dto/upsert-contact.dto.ts
@@ -1,7 +1,7 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsOptional, IsString, MaxLength, MinLength } from 'class-validator';
-/** Cap on each addressbook name part. Mirrors CONTACT_NAME_MAX_LENGTH on the send-contact DTO. */
+/** Cap on each addressbook name part. Independent of CONTACT_NAME_MAX_LENGTH (255) on the send-contact DTO. */
export const ADDRESSBOOK_NAME_MAX_LENGTH = 100;
export class UpsertContactDto {