- API routes refactoring

- setup:dev artisan command
This commit is contained in:
Peter Papp
2021-02-25 21:32:32 +01:00
parent 2f332197e6
commit 55ba82442a
24 changed files with 559 additions and 366 deletions

View File

@@ -291,7 +291,7 @@ const actions = {
commit('CLEAR_FILEINFO_DETAIL')
axios
.post(getters.api + '/restore-items', {
.post(getters.api + '/trash/restore-items', {
to_home: restoreToHome,
data: itemToRestore
})
@@ -386,7 +386,7 @@ const actions = {
commit('LOADING_STATE', { loading: true, data: [] })
axios
.post(getters.api + '/empty-trash', {
.post(getters.api + '/trash/empty-trash', {
_method: 'delete'
})
.then(() => {