Some cleanup. There is a bug around cover image not working for chapter image due to overwriting current and not using a temp image.
This commit is contained in:
parent
01f9cea86f
commit
eb1a524b2f
6 changed files with 47 additions and 18 deletions
|
|
@ -458,7 +458,7 @@ public class SeriesService : ISeriesService
|
|||
allChapterIds.AddRange(mapping.Value);
|
||||
}
|
||||
|
||||
// BUG: This isn't getting all the people and whatnot currently
|
||||
// NOTE: This isn't getting all the people and whatnot currently due to the lack of includes
|
||||
var series = await _unitOfWork.SeriesRepository.GetSeriesByIdsAsync(seriesIds);
|
||||
_unitOfWork.SeriesRepository.Remove(series);
|
||||
|
||||
|
|
@ -481,6 +481,7 @@ public class SeriesService : ISeriesService
|
|||
await _unitOfWork.AppUserProgressRepository.CleanupAbandonedChapters();
|
||||
await _unitOfWork.CollectionTagRepository.RemoveCollectionsWithoutSeries();
|
||||
_taskScheduler.CleanupChapters([.. allChapterIds]);
|
||||
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue