mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-26 00:50:12 +01:00
22 lines
425 B
JavaScript
Vendored
22 lines
425 B
JavaScript
Vendored
import { httpClientFactory } from '@/services/httpClientFactory'
|
|
|
|
const webClient = httpClientFactory('web')
|
|
|
|
export default {
|
|
/**
|
|
*
|
|
* @returns Promise
|
|
*/
|
|
getSystemInfos(config = {}) {
|
|
return webClient.get('infos', { ...config })
|
|
},
|
|
|
|
/**
|
|
*
|
|
* @returns Promise
|
|
*/
|
|
getLastRelease(config = {}) {
|
|
return webClient.get('latestRelease', { ...config })
|
|
}
|
|
|
|
} |