Better sync log

This commit is contained in:
2025-09-18 02:04:01 +02:00
parent c199f37b14
commit 429cd2284f
18 changed files with 30 additions and 29 deletions

View File

@@ -84,7 +84,7 @@ public class Chapter : Identifiable, IComparable<Chapter>
//TODO Log here
this.Downloaded = File.Exists(chapter.FullArchiveFilePath);
await context.Sync(token??CancellationToken.None);
await context.Sync(token??CancellationToken.None, GetType());
return this.Downloaded;
}

View File

@@ -85,7 +85,7 @@ public class MyAnimeList : MetadataFetcher
dbManga.Authors.Clear();
dbManga.Authors = resultData.Authors.Select(a => new Author(a.Name)).ToList();
await dbContext.Sync(token);
await dbContext.Sync(token, GetType());
}
}