removed constraint for group creation dto
This commit is contained in:
parent
8510d4a7cb
commit
cdab822feb
@ -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 })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user