mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-23 08:44:21 +01:00
Change: Route for resetting progress
This commit is contained in:
1 parent
3f63c4d157
commit
77784e4988
1 file changed
+1
-1
@@ -220,7 +220,7 @@ export default {
|
||||
this.resettingProgress = true
|
||||
if (this.$server.connected) {
|
||||
await this.$axios
|
||||
.$delete(`/api/user/audiobook/${this.audiobookId}`)
|
||||
.$patch(`/api/user/audiobook/${this.audiobookId}/reset-progress`)
|
||||
.then(() => {
|
||||
console.log('Progress reset complete')
|
||||
this.$toast.success(`Your progress was reset`)
|
||||
|
||||
Reference in new issue
Block a user