Change: Route for resetting progress

This commit is contained in:
advplyr
2021-10-30 06:22:42 -05:00
parent 3f63c4d157
commit 77784e4988
+1 -1
View File
@@ -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`)