mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 09:12:49 +02:00
Fix:Relative file path for single book scans, Change:Route names & refactor api
This commit is contained in:
@@ -97,7 +97,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async init() {
|
||||
this.listeningStats = await this.$axios.$get(`/api/user/${this.user.id}/listeningStats`).catch((err) => {
|
||||
this.listeningStats = await this.$axios.$get(`/api/me/listening-stats`).catch((err) => {
|
||||
console.error('Failed to load listening sesions', err)
|
||||
return []
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user