removed constraint for group creation dto
This commit is contained in:
parent
8510d4a7cb
commit
cdab822feb
@ -25,10 +25,10 @@ export class CreateConversationDto {
|
|||||||
type: [String],
|
type: [String],
|
||||||
example: ['userId1', 'userId2'],
|
example: ['userId1', 'userId2'],
|
||||||
description: 'List of participant user IDs',
|
description: 'List of participant user IDs',
|
||||||
minItems: 2,
|
// minItems: 2,
|
||||||
})
|
})
|
||||||
@IsArray()
|
@IsArray()
|
||||||
@ArrayMinSize(2)
|
// @ArrayMinSize(2)
|
||||||
@ArrayUnique()
|
@ArrayUnique()
|
||||||
@IsString({ each: true })
|
@IsString({ each: true })
|
||||||
@IsNotEmpty({ each: true })
|
@IsNotEmpty({ each: true })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user