diff --git a/lib/use_case/resync_album.dart b/lib/use_case/resync_album.dart index b6d88dea..eaf4f562 100644 --- a/lib/use_case/resync_album.dart +++ b/lib/use_case/resync_album.dart @@ -59,7 +59,7 @@ class ResyncAlbum { } } else { dbItem = await objStore - .getObject(AppDbFileDbEntry.toPrimaryKey(account, item.file)) as Map; + .getObject(AppDbFileDbEntry.toPrimaryKey(account, item.file)) as Map?; } if (dbItem == null) { _log.warning(