Fix library scan bug

This commit is contained in:
Mbucari 2023-03-29 15:38:57 -06:00
parent 6aaf4f63d1
commit 0db3ee6fd7
3 changed files with 9 additions and 1 deletions

View file

@ -54,7 +54,7 @@ namespace DtoImporterService
foreach (var item in uniqueImportItems.Values)
{
if (qtyNew == 0 && existingEntries.TryGetValue(item.DtoItem.ProductId, out LibraryBook existing))
if (existingEntries.TryGetValue(item.DtoItem.ProductId, out LibraryBook existing))
{
if (existing.Account != item.AccountId)
{