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

22 lines
373 B
JavaScript
Raw Normal View History

2023-09-27 10:24:03 +02:00
import { httpClientFactory } from '@/services/httpClientFactory'
2023-09-27 10:24:03 +02:00
const webClient = httpClientFactory('web')
export default {
/**
*
* @returns Promise
*/
getSystemInfos() {
2023-09-27 10:24:03 +02:00
return webClient.get('infos')
},
/**
*
* @returns Promise
*/
getLastRelease() {
return webClient.get('latestRelease')
}
}