style: format changed files with prettier
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -481,8 +481,7 @@ export class CleanerApplicationService {
|
||||
: 'success'
|
||||
|
||||
// Build error message from execution-level errors (excluding per-order errors)
|
||||
const execErrorMessage =
|
||||
result.errors.length > 0 ? result.errors.join('\n') : undefined
|
||||
const execErrorMessage = result.errors.length > 0 ? result.errors.join('\n') : undefined
|
||||
|
||||
// Update execution status
|
||||
await historyDao.updateExecutionStatus(
|
||||
|
||||
@@ -752,8 +752,15 @@ export class CleanerOperationHistoryDAO {
|
||||
attemptNumber: row.AttemptNumber as number,
|
||||
userId: row.UserId as number,
|
||||
username: row.Username as string,
|
||||
operationTime: row.OperationTime instanceof Date ? row.OperationTime : new Date(row.OperationTime as string),
|
||||
endTime: row.EndTime ? (row.EndTime instanceof Date ? row.EndTime : new Date(row.EndTime as string)) : null,
|
||||
operationTime:
|
||||
row.OperationTime instanceof Date
|
||||
? row.OperationTime
|
||||
: new Date(row.OperationTime as string),
|
||||
endTime: row.EndTime
|
||||
? row.EndTime instanceof Date
|
||||
? row.EndTime
|
||||
: new Date(row.EndTime as string)
|
||||
: null,
|
||||
status: row.Status as string,
|
||||
isDryRun: !!(row.IsDryRun as number),
|
||||
totalOrders: row.TotalOrders as number,
|
||||
|
||||
Reference in New Issue
Block a user