Skip to content

Commit a3ca1e3

Browse files
authored
Merge pull request #28 from game-node-app/dev
- fixed bug in follower register validation
2 parents 5a23bb8 + 4cb1208 commit a3ca1e3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/follow/dto/follow-register.dto.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { IsNotEmpty, IsString, Max, Min } from "class-validator";
1+
import { IsNotEmpty, IsString, Length } from "class-validator";
22

33
export class FollowRegisterDto {
44
@IsNotEmpty()
55
@IsString()
6-
@Min(36)
7-
@Max(36)
6+
@Length(36)
87
followedUserId: string;
98
}

0 commit comments

Comments
 (0)