mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 22:57:16 +02:00
Change: Route for resetting progress
This commit is contained in:
@@ -220,7 +220,7 @@ export default {
|
|||||||
this.resettingProgress = true
|
this.resettingProgress = true
|
||||||
if (this.$server.connected) {
|
if (this.$server.connected) {
|
||||||
await this.$axios
|
await this.$axios
|
||||||
.$delete(`/api/user/audiobook/${this.audiobookId}`)
|
.$patch(`/api/user/audiobook/${this.audiobookId}/reset-progress`)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log('Progress reset complete')
|
console.log('Progress reset complete')
|
||||||
this.$toast.success(`Your progress was reset`)
|
this.$toast.success(`Your progress was reset`)
|
||||||
|
|||||||
Reference in New Issue
Block a user