Fix:Relative file path for single book scans, Change:Route names & refactor api

This commit is contained in:
advplyr 2021-11-21 20:00:40 -06:00
parent 2194d55cc0
commit 66a490365a
41 changed files with 1057 additions and 986 deletions

View file

@ -158,7 +158,7 @@ export default {
}
})
this.$axios
.patch(`/api/user/audiobooks`, updateProgressPayloads)
.patch(`/api/me/audiobook/batch/update`, updateProgressPayloads)
.then(() => {
this.$toast.success('Batch update success!')
this.$store.commit('setProcessingBatch', false)
@ -177,7 +177,7 @@ export default {
this.processingBatchDelete = true
this.$store.commit('setProcessingBatch', true)
this.$axios
.$post(`/api/audiobooks/delete`, {
.$post(`/api/books/batch/delete`, {
audiobookIds: this.selectedAudiobooks
})
.then(() => {