code in response
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
||||
|
||||
export class RequestSalonOtpResponseDto {
|
||||
@ApiProperty({ example: 'OTP sent' })
|
||||
@@ -14,4 +14,10 @@ export class RequestSalonOtpResponseDto {
|
||||
example: 900,
|
||||
})
|
||||
expiresInSeconds: number;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: 'Only returned in non-production environments when SMS is unavailable',
|
||||
example: '12345',
|
||||
})
|
||||
code?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user