Add an email registration policy feature - Closes #250

This commit is contained in:
Bubka
2024-02-29 13:42:28 +01:00
parent fd5520c1cf
commit 3eed7c8f5b
12 changed files with 320 additions and 10 deletions

View File

@ -3,6 +3,14 @@ import { httpClientFactory } from '@/services/httpClientFactory'
const apiClient = httpClientFactory('api')
export default {
/**
*
* @returns
*/
get(config = {}) {
return apiClient.get('/settings', { ...config })
},
/**
*
* @returns
@ -11,4 +19,11 @@ export default {
return apiClient.put('/settings/' + name, { value: value })
},
/**
*
* @returns
*/
delete(name, config = {}) {
return apiClient.delete('/settings/' + name, { ...config })
},
}