mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 01:11:20 +03:00
feat: view integrity report in maintenance page (cherry picked)
This commit is contained in:
@@ -26,6 +26,7 @@ export class MaintenanceGetIntegrityReportDto {
|
||||
}
|
||||
|
||||
class MaintenanceIntegrityReportDto {
|
||||
id!: string;
|
||||
@IsEnum(IntegrityReportType)
|
||||
type!: IntegrityReportType;
|
||||
path!: string;
|
||||
|
||||
@@ -22,7 +22,7 @@ export class IntegrityReportRepository {
|
||||
return {
|
||||
items: await this.db
|
||||
.selectFrom('integrity_report')
|
||||
.select(['type', 'path'])
|
||||
.select(['id', 'type', 'path'])
|
||||
.orderBy('createdAt', 'desc')
|
||||
.execute(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user