Sync logging

This commit is contained in:
2025-09-18 01:53:05 +02:00
parent d9a1923a3c
commit 9b0b5f0860
2 changed files with 6 additions and 2 deletions

View File

@@ -24,6 +24,8 @@ public class CleanupMangaconnectorIdsWithoutConnector : BaseWorkerWithContext<Ma
}
int deletedMangaIds = await DbContext.MangaConnectorToManga.Where(mcId => connectorNames.All(name => name != mcId.MangaConnectorName)).ExecuteDeleteAsync(CancellationToken);
Log.Info($"Deleted {deletedMangaIds} mangaIds.");
await DbContext.SaveChangesAsync(CancellationToken);
return [];
}
}