mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-30 22:40:06 +02:00
Remove old Author object & fix issue deleting empty authors
This commit is contained in:
@ -124,6 +124,13 @@ class CacheManager {
|
||||
await this.ensureCachePaths()
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('express').Response} res
|
||||
* @param {import('../models/Author')} author
|
||||
* @param {{ format?: string, width?: number, height?: number }} options
|
||||
* @returns
|
||||
*/
|
||||
async handleAuthorCache(res, author, options = {}) {
|
||||
const format = options.format || 'webp'
|
||||
const width = options.width || 400
|
||||
|
Reference in New Issue
Block a user