fix: fix some changes
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsNotEmpty, IsString } from 'class-validator';
|
||||
|
||||
export class LogoutDTO {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
@ApiProperty({
|
||||
type: 'string',
|
||||
description: "User's Refresh Token",
|
||||
required: true,
|
||||
})
|
||||
refreshToken!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user