2FAuth/resources/js/services/appSettingService.js

14 lines
275 B
JavaScript
Raw Normal View History

import { httpClientFactory } from '@/services/httpClientFactory'
const apiClient = httpClientFactory('api')
export default {
/**
*
* @returns
*/
update(name, value) {
return apiClient.put('/settings/' + name, { value: value })
},
}