mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
[web-src/jsonapi] move endpoint /api/update as PUT operation
This commit is contained in:
committed by
ejurgensen
parent
8c024387ae
commit
e0a18082f7
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user