mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-28 23:04:59 +02:00
Update:API endpoints for library and library item scan updated to POST requests
This commit is contained in:
parent
c93f17051a
commit
b957e1a36b
6 changed files with 9 additions and 9 deletions
|
@ -66,7 +66,7 @@ export const getters = {
|
|||
|
||||
export const actions = {
|
||||
requestLibraryScan({ state, commit }, { libraryId, force }) {
|
||||
return this.$axios.$get(`/api/libraries/${libraryId}/scan`, { params: { force } })
|
||||
return this.$axios.$post(`/api/libraries/${libraryId}/scan?force=${force ? 1 : 0}`)
|
||||
},
|
||||
loadFolders({ state, commit }) {
|
||||
if (state.folders.length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue