mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Fix exception resyncing file w/o id and not in DB
This commit is contained in:
parent
ec4e05c5e0
commit
3d2003de26
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue