mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-18 22:58:29 +01:00
Fix:Set ebookFormat on scans #2126
This commit is contained in:
1 parent
604f52762b
commit
9967a5dc66
4 files changed
+6
-4
No files matched your search
@@ -16,7 +16,7 @@ class EBookFile {
|
||||
construct(file) {
|
||||
this.ino = file.ino
|
||||
this.metadata = new FileMetadata(file.metadata)
|
||||
this.ebookFormat = file.ebookFormat
|
||||
this.ebookFormat = file.ebookFormat || this.metadata.format
|
||||
this.addedAt = file.addedAt
|
||||
this.updatedAt = file.updatedAt
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user