change flow
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
|
||||
export class RequestSalonOtpResponseDto {
|
||||
@ApiProperty({ example: 'OTP sent' })
|
||||
message: string;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'Whether a salon-owner account exists for this mobile',
|
||||
})
|
||||
isRegistered: boolean;
|
||||
|
||||
@ApiProperty({
|
||||
description: 'OTP validity window in seconds',
|
||||
example: 900,
|
||||
})
|
||||
expiresInSeconds: number;
|
||||
}
|
||||
Reference in New Issue
Block a user