2FAuth/resources/js_vue3/services/systemService.js

22 lines
373 B
JavaScript
Vendored

import { httpClientFactory } from '@/services/httpClientFactory'
const webClient = httpClientFactory('web')
export default {
/**
*
* @returns Promise
*/
getSystemInfos() {
return webClient.get('infos')
},
/**
*
* @returns Promise
*/
getLastRelease() {
return webClient.get('latestRelease')
}
}