mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
Fix nullable property types in Note DTOs
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
64f9a29f02
commit
980da1fa43
3 changed files with 6 additions and 8 deletions
|
@ -92,7 +92,7 @@ export class NotePermissionsDto {
|
|||
@ValidateNested()
|
||||
@ApiPropertyOptional({ type: UserInfoDto })
|
||||
@IsOptional()
|
||||
owner?: UserInfoDto;
|
||||
owner: UserInfoDto | null;
|
||||
|
||||
/**
|
||||
* List of users the note is shared with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue