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