mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 10:55:05 +02:00
Update for filesystem and libraries api update and revert personalized shelves route
This commit is contained in:
parent
5c31687a0f
commit
eede2bbd46
2 changed files with 4 additions and 6 deletions
|
@ -86,8 +86,8 @@ export const actions = {
|
|||
.$get('/api/filesystem')
|
||||
.then((res) => {
|
||||
console.log('Settings folders', res)
|
||||
commit('setFolders', res)
|
||||
return res
|
||||
commit('setFolders', res.directories)
|
||||
return res.directories
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error('Failed to load dirs', error)
|
||||
|
@ -151,7 +151,7 @@ export const actions = {
|
|||
this.$axios
|
||||
.$get(`/api/libraries`)
|
||||
.then((data) => {
|
||||
commit('set', data)
|
||||
commit('set', data.libraries)
|
||||
commit('setLastLoad')
|
||||
})
|
||||
.catch((error) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue