2FAuth/resources/js/services/appSettingService.js
2023-12-01 15:29:26 +01:00

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 })
},
}