mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-02 21:26:42 +01:00
22 lines
373 B
JavaScript
Vendored
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')
|
|
}
|
|
|
|
} |