fix: healtcheck, to not read full data

This commit is contained in:
Nicolas Meienberger
2025-11-29 12:24:07 +01:00
parent 0dfe000148
commit 1d4e7100ab

View File

@@ -249,7 +249,7 @@ const checkHealth = async (repositoryId: string) => {
throw new NotFoundError("Repository not found"); throw new NotFoundError("Repository not found");
} }
const { hasErrors, error } = await restic.check(repository.config, { readData: true }); const { hasErrors, error } = await restic.check(repository.config);
await db await db
.update(repositoriesTable) .update(repositoriesTable)