mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-26 18:25:09 +01:00
14 lines
275 B
JavaScript
Vendored
14 lines
275 B
JavaScript
Vendored
import { httpClientFactory } from '@/services/httpClientFactory'
|
|
|
|
const apiClient = httpClientFactory('api')
|
|
|
|
export default {
|
|
/**
|
|
*
|
|
* @returns
|
|
*/
|
|
update(name, value) {
|
|
return apiClient.put('/settings/' + name, { value: value })
|
|
},
|
|
|
|
} |