mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-31 19:18:57 +01:00
Fix:Mobile app api endpoint middleware
This commit is contained in:
parent
033a9d73ba
commit
c61c0cfc6b
@ -65,8 +65,8 @@ class ApiController {
|
||||
this.router.patch('/libraries/order', LibraryController.reorder.bind(this))
|
||||
|
||||
// TEMP: Support old syntax for mobile app
|
||||
this.router.get('/library/:id/audiobooks', LibraryController.getBooksForLibrary.bind(this))
|
||||
this.router.get('/library/:id/search', LibraryController.search.bind(this))
|
||||
this.router.get('/library/:id/audiobooks', LibraryController.middleware.bind(this), LibraryController.getBooksForLibrary.bind(this))
|
||||
this.router.get('/library/:id/search', LibraryController.middleware.bind(this), LibraryController.search.bind(this))
|
||||
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user