upd
This commit is contained in:
@@ -2,6 +2,10 @@ import { ApiProperty } from '@nestjs/swagger';
|
||||
import { IsUUID } from 'class-validator';
|
||||
|
||||
export class CreateChatDto {
|
||||
@ApiProperty({ description: 'Your profile ID' })
|
||||
@IsUUID()
|
||||
profileId: string;
|
||||
|
||||
@ApiProperty({ description: 'Match ID to open chat for' })
|
||||
@IsUUID()
|
||||
matchId: string;
|
||||
|
||||
Reference in New Issue
Block a user