Skip to content

Commit a2494ee

Browse files
committed
remove error message for message content
1 parent 69585df commit a2494ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chat/dto/createMessage.dto.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ export class CreateChatMessageDto {
3232
sender_id: string | ObjectId;
3333

3434
/**
35-
* Text content of the message
36-
* content must not exceed 64 characters
35+
* Text content of the message.
36+
* Content must not exceed 64 characters
3737
*
3838
* @example "Let’s meet at Soul Arena!"
3939
*/
4040
@IsString()
4141
@IsNotEmpty()
42-
@MaxLength(64, { message: "content must not exceed 64 characters" })
42+
@MaxLength(64)
4343
content: string;
4444

4545
/**

0 commit comments

Comments
 (0)