mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-25 20:59:28 +00:00
update packages, fix cards entity
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user