We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69585df commit a2494eeCopy full SHA for a2494ee
src/chat/dto/createMessage.dto.ts
@@ -32,14 +32,14 @@ export class CreateChatMessageDto {
32
sender_id: string | ObjectId;
33
34
/**
35
- * Text content of the message
36
- * content must not exceed 64 characters
+ * Text content of the message.
+ * Content must not exceed 64 characters
37
*
38
* @example "Let’s meet at Soul Arena!"
39
*/
40
@IsString()
41
@IsNotEmpty()
42
- @MaxLength(64, { message: "content must not exceed 64 characters" })
+ @MaxLength(64)
43
content: string;
44
45
0 commit comments