mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 09:49:24 +02:00
Fix:Mark as not finished when duration is not set in media progress #771
This commit is contained in:
parent
59c5e2c1d9
commit
76d668514e
2 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ class MeController {
|
|||
if (!libraryItem) {
|
||||
return res.status(404).send('Item not found')
|
||||
}
|
||||
|
||||
var wasUpdated = req.user.createUpdateMediaProgress(libraryItem, req.body)
|
||||
if (wasUpdated) {
|
||||
await this.db.updateEntity('user', req.user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue