mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-21 14:31:19 -04:00
13 lines
224 B
JavaScript
13 lines
224 B
JavaScript
import api from '@/api'
|
|
|
|
const BASE_URL = './api/settings'
|
|
|
|
export default {
|
|
state() {
|
|
return api.get(BASE_URL)
|
|
},
|
|
update(option) {
|
|
return api.put(`${BASE_URL}/${option.category}/${option.name}`, option)
|
|
}
|
|
}
|