changed Object.keys() to Object.values()

This commit is contained in:
Michel Heusschen
2023-02-10 16:32:47 +01:00
parent 2e844696fc
commit d05ffcf080
@@ -12,7 +12,7 @@ export class CreateAssetDto {
@IsNotEmpty() @IsNotEmpty()
@IsEnum(AssetType) @IsEnum(AssetType)
@ApiProperty({ enum: Object.keys(AssetType) }) @ApiProperty({ enum: Object.values(AssetType) })
assetType!: AssetType; assetType!: AssetType;
@IsNotEmpty() @IsNotEmpty()