Skip to content

Commit

Permalink
fix: updating database fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 10, 2024
1 parent a7f14fe commit 944e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function (logger: Logger, db: MediaDatabase, config: Record<strin
}),
])

await db.put(doc)
await db.put(doc, { force: true })

mediaLogger.info('Scanned')
}
Expand Down

0 comments on commit 944e837

Please sign in to comment.