mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-29 14:28:34 +02:00
No db access for author image if in disk cache
This commit is contained in:
parent
654b1d6b34
commit
3bc2941445
3 changed files with 26 additions and 14 deletions
|
@ -216,7 +216,7 @@ class ApiRouter {
|
|||
this.router.patch('/authors/:id', AuthorController.middleware.bind(this), AuthorController.update.bind(this))
|
||||
this.router.delete('/authors/:id', AuthorController.middleware.bind(this), AuthorController.delete.bind(this))
|
||||
this.router.post('/authors/:id/match', AuthorController.middleware.bind(this), AuthorController.match.bind(this))
|
||||
this.router.get('/authors/:id/image', AuthorController.middleware.bind(this), AuthorController.getImage.bind(this))
|
||||
this.router.get('/authors/:id/image', AuthorController.getImage.bind(this))
|
||||
this.router.post('/authors/:id/image', AuthorController.middleware.bind(this), AuthorController.uploadImage.bind(this))
|
||||
this.router.delete('/authors/:id/image', AuthorController.middleware.bind(this), AuthorController.deleteImage.bind(this))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue