feat: adjustment dto create export

pull/21/head
Firman Ramdhani 2024-07-08 16:52:23 +07:00
parent 32ae6481e6
commit 677732d511
1 changed files with 2 additions and 1 deletions

View File

@ -8,8 +8,9 @@ export class CreateReportExportDto extends GetReportDataDto {
@IsString() @IsString()
time_zone: string; time_zone: string;
@ApiProperty({ name: 'file_name', required: true }) @ApiProperty({ name: 'file_name', required: false })
@IsString() @IsString()
@IsOptional()
file_name?: string; file_name?: string;
@ApiProperty({ @ApiProperty({