mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-31 23:57:15 +02:00
Replace existing axios calls with native https calls
This commit is contained in:
@@ -30,8 +30,8 @@ export default {
|
||||
return
|
||||
}
|
||||
this.loadedLibraryId = this.currentLibraryId
|
||||
this.authors = await this.$axios
|
||||
.$get(`/api/libraries/${this.currentLibraryId}/authors`)
|
||||
this.authors = await this.$nativeHttp
|
||||
.get(`/api/libraries/${this.currentLibraryId}/authors`)
|
||||
.then((response) => response.authors)
|
||||
.catch((error) => {
|
||||
console.error('Failed to load authors', error)
|
||||
|
||||
Reference in New Issue
Block a user