mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-09 12:12:43 +02:00
Move pagination limit/page query param validation to middleware & check for positive integer
This commit is contained in:
@@ -479,8 +479,6 @@ export default {
|
||||
})
|
||||
},
|
||||
async fetchAllAuthors() {
|
||||
const authors = []
|
||||
|
||||
// fetch all authors from the server, in the order that they are currently displayed
|
||||
const response = await this.$axios.$get(`/api/libraries/${this.currentLibraryId}/authors?sort=${this.settings.authorSortBy}&desc=${this.settings.authorSortDesc}`)
|
||||
return response.authors
|
||||
|
||||
Reference in New Issue
Block a user