Fix exception resyncing file w/o id and not in DB

This commit is contained in:
Ming Ming 2021-09-27 02:58:46 +08:00
parent ec4e05c5e0
commit 3d2003de26

View file

@ -59,7 +59,7 @@ class ResyncAlbum {
} }
} else { } else {
dbItem = await objStore dbItem = await objStore
.getObject(AppDbFileDbEntry.toPrimaryKey(account, item.file)) as Map; .getObject(AppDbFileDbEntry.toPrimaryKey(account, item.file)) as Map?;
} }
if (dbItem == null) { if (dbItem == null) {
_log.warning( _log.warning(