mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-09 15:24:55 +02:00
Update:Remove relImagePath from Author entity
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user