mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 18:24:46 +02:00
Move pagination limit/page query param validation to middleware & check for positive integer
This commit is contained in:
parent
8ba17db877
commit
64b78b5822
2 changed files with 24 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue