Replace existing axios calls with native https calls

This commit is contained in:
advplyr 2023-09-17 12:43:50 -05:00
parent 7541e4b660
commit 01178d00bf
15 changed files with 40 additions and 88 deletions

View file

@ -83,8 +83,8 @@ export default {
},
updateEbookStatus() {
this.processing = true
this.$axios
.$patch(`/api/items/${this.libraryItemId}/ebook/${this.selectedFile.ino}/status`)
this.$nativeHttp
.patch(`/api/items/${this.libraryItemId}/ebook/${this.selectedFile.ino}/status`)
.then(() => {
this.$toast.success('Ebook updated')
})