[web-src/jsonapi] move endpoint /api/update as PUT operation

This commit is contained in:
whatdoineed2do/Ray
2019-06-18 10:15:22 +01:00
committed by ejurgensen
parent 8c024387ae
commit e0a18082f7
4 changed files with 7 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ var app = new Vue({
update: function() {
this.library.updating = true;
axios.get('/api/update').then(console.log('Library is updating'));
axios.put('/api/update').then(console.log('Library is updating'));
},
update_meta: function() {