Skip to content

Commit

Permalink
add badrequest
Browse files Browse the repository at this point in the history
  • Loading branch information
siwonpada committed May 21, 2024
1 parent 6df61fd commit ac3674b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oauth/dto/req/revoke.dto.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsEnum, IsOptional, IsString } from 'class-validator';
import { IsEnum, IsOptional, IsString, IsUUID } from 'class-validator';

export class RevokeDto {
@ApiProperty()
@IsString()
@IsUUID()
token: string;

@ApiPropertyOptional()
Expand Down

0 comments on commit ac3674b

Please sign in to comment.