fix: healtcheck, to not read full data

This commit is contained in:
Nicolas Meienberger 2025-11-29 12:24:07 +01:00
parent 4dc1db922c
commit 973880316d

View file

@ -250,7 +250,7 @@ const checkHealth = async (repositoryId: string) => {
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
.update(repositoriesTable)