Fixed a critical crash in Scan library where Series Metadata was getting regenerated and unique constraint failed. (#269)

This commit is contained in:
Joseph Milazzo 2021-06-05 16:30:50 -05:00 committed by GitHub
parent 8211f1ce0e
commit 8175ddf517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,7 +228,6 @@ namespace API.Services.Tasks
existingSeries.NormalizedName = Parser.Parser.Normalize(existingSeries.Name);
existingSeries.OriginalName ??= infos[0].Series;
existingSeries.Metadata ??= DbFactory.SeriesMetadata(new List<CollectionTag>());
}
// Now, we only have to deal with series that exist on disk. Let's recalculate the volumes for each series