mirror of
https://github.com/immich-app/immich.git
synced 2026-06-04 22:05:19 -04:00
feat: web impl.
This commit is contained in:
@@ -245,6 +245,7 @@ describe(MaintenanceWorkerService.name, () => {
|
||||
|
||||
expect(maintenanceEphemeralStateRepositoryMock.setStatus).toHaveBeenCalledWith({
|
||||
action: MaintenanceAction.RestoreDatabase,
|
||||
task: 'ready',
|
||||
progress: expect.any(Number),
|
||||
});
|
||||
|
||||
|
||||
@@ -250,6 +250,7 @@ export class MaintenanceWorkerService {
|
||||
private async restoreBackup(filename: string): Promise<void> {
|
||||
this.setStatus({
|
||||
action: MaintenanceAction.RestoreDatabase,
|
||||
task: 'ready',
|
||||
progress: 0,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user