From cdab822febce7895b9dd1576d6b5119e10df007c Mon Sep 17 00:00:00 2001 From: Suman991 Date: Fri, 17 Apr 2026 11:23:23 +0530 Subject: [PATCH] removed constraint for group creation dto --- src/conversations/dto/create-conversation.dto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conversations/dto/create-conversation.dto.ts b/src/conversations/dto/create-conversation.dto.ts index 77e3840..3473b45 100644 --- a/src/conversations/dto/create-conversation.dto.ts +++ b/src/conversations/dto/create-conversation.dto.ts @@ -25,10 +25,10 @@ export class CreateConversationDto { type: [String], example: ['userId1', 'userId2'], description: 'List of participant user IDs', - minItems: 2, + // minItems: 2, }) @IsArray() - @ArrayMinSize(2) + // @ArrayMinSize(2) @ArrayUnique() @IsString({ each: true }) @IsNotEmpty({ each: true })