diff --git a/backend/services/snapshot-service/src/api/dto/snapshot.response.ts b/backend/services/snapshot-service/src/api/dto/snapshot.response.ts index 21bd2ac6..a0587c85 100644 --- a/backend/services/snapshot-service/src/api/dto/snapshot.response.ts +++ b/backend/services/snapshot-service/src/api/dto/snapshot.response.ts @@ -5,6 +5,7 @@ export class SnapshotDetailResponse { @ApiProperty() target: string; @ApiProperty() status: string; @ApiProperty() progress: number; + @ApiProperty({ required: false }) progressMsg: string | null; @ApiProperty() fileSize: string; @ApiProperty() fileName: string | null; @ApiProperty() error: string | null; @@ -52,6 +53,7 @@ export function toSnapshotResponse(task: any): SnapshotTaskResponse { target: d.target, status: d.status, progress: d.progress, + progressMsg: d.progressMsg ?? null, fileSize: d.fileSize.toString(), fileName: d.fileName, error: d.error,