mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 10:49:00 +02:00
Update:Remove relImagePath from Author entity
This commit is contained in:
parent
c3fc38639e
commit
8acf962864
3 changed files with 2 additions and 10 deletions
|
@ -80,7 +80,6 @@ class AuthorController {
|
|||
await this.cacheManager.purgeImageCache(req.author.id) // Purge cache
|
||||
}
|
||||
payload.imagePath = imageData.path
|
||||
payload.relImagePath = imageData.relPath
|
||||
hasUpdated = true
|
||||
}
|
||||
}
|
||||
|
@ -181,7 +180,6 @@ class AuthorController {
|
|||
var imageData = await this.authorFinder.saveAuthorImage(req.author.id, authorData.image)
|
||||
if (imageData) {
|
||||
req.author.imagePath = imageData.path
|
||||
req.author.relImagePath = imageData.relPath
|
||||
hasUpdates = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue