Files
TodoList/apps/api/src/auth/dto/refresh-token.dto.ts
T

8 lines
145 B
TypeScript

import { IsString, MinLength } from "class-validator";
export class RefreshTokenDto {
@IsString()
@MinLength(20)
refreshToken!: string;
}