Update:Remove relImagePath from Author entity

This commit is contained in:
advplyr 2022-12-26 15:29:45 -06:00
parent c3fc38639e
commit 8acf962864
3 changed files with 2 additions and 10 deletions

View file

@ -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
}
}