Skip to content

Commit 26a516a

Browse files
committed
[Add] Add description #15
1 parent ff4cf99 commit 26a516a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/app/src/apis/module/validator.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { IsOptional, Length } from 'class-validator';
22

3+
/**
4+
* @description class for validation
5+
*/
36
class VisitorCommentValidator {
47
@IsOptional()
58
@Length(0, 20)

0 commit comments

Comments
 (0)