mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 16:34:55 +00:00
add password as optional
This commit is contained in:
@ -248,10 +248,10 @@ export class AddDoorLockTemporaryPasswordDto {
|
|||||||
|
|
||||||
@ApiProperty({
|
@ApiProperty({
|
||||||
description: 'password',
|
description: 'password',
|
||||||
required: true,
|
required: false,
|
||||||
})
|
})
|
||||||
@IsString()
|
@IsString()
|
||||||
@IsNotEmpty()
|
@IsOptional()
|
||||||
@Length(7, 7)
|
@Length(7, 7)
|
||||||
public password: string;
|
public password: string;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user