Merge providers API into a single endpoint

This commit is contained in:
mikiher 2025-10-19 10:53:27 +03:00
parent 0a82d6a41b
commit 0a8662d198
2 changed files with 13 additions and 98 deletions

View file

@ -283,12 +283,7 @@ class ApiRouter {
this.router.get('/search/podcast', SearchController.findPodcasts.bind(this))
this.router.get('/search/authors', SearchController.findAuthor.bind(this))
this.router.get('/search/chapters', SearchController.findChapters.bind(this))
this.router.get('/search/providers/books', SearchController.getBookProviders.bind(this))
this.router.get('/search/providers/books/covers', SearchController.getBookCoverProviders.bind(this))
this.router.get('/search/providers/podcasts', SearchController.getPodcastProviders.bind(this))
this.router.get('/search/providers/podcasts/covers', SearchController.getPodcastCoverProviders.bind(this))
this.router.get('/search/providers/authors', SearchController.getAuthorProviders.bind(this))
this.router.get('/search/providers/chapters', SearchController.getChapterProviders.bind(this))
this.router.get('/search/providers', SearchController.getAllProviders.bind(this))
//
// Cache Routes (Admin and up)