update packages, fix cards entity

This commit is contained in:
2023-11-19 15:46:20 +01:00
parent 02cd24da5f
commit fbf5236f80
5 changed files with 9828 additions and 9166 deletions

View File

@@ -17,7 +17,7 @@ export class CreateDeckDto {
*/
@IsOptional()
@IsBoolean()
@Transform((val: string) => [true, 'true', 1, '1'].indexOf(val) > -1)
@Transform(({ value }) => [true, 'true', 1, '1'].indexOf(value) > -1)
isPrivate?: boolean
@ApiHideProperty()