Skip to content

Commit

Permalink
Merge pull request #28 from game-node-app/dev
Browse files Browse the repository at this point in the history
- fixed bug in follower register validation
  • Loading branch information
Lamarcke authored Mar 1, 2024
2 parents 5a23bb8 + 4cb1208 commit a3ca1e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/follow/dto/follow-register.dto.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { IsNotEmpty, IsString, Max, Min } from "class-validator";
import { IsNotEmpty, IsString, Length } from "class-validator";

export class FollowRegisterDto {
@IsNotEmpty()
@IsString()
@Min(36)
@Max(36)
@Length(36)
followedUserId: string;
}

0 comments on commit a3ca1e3

Please sign in to comment.