Task: Updated sdk client and updated the missing types for http tunnel client

This commit is contained in:
2022-07-09 21:17:08 +07:00
parent 23c7bda220
commit 1af63d5955
3 changed files with 11 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
const axios = require("axios").default;
const getTokenFree = async (baseUrl, data = {}) => {
const getTokenFree = async (baseUrl: string, data: any = {}) => {
const url = `${baseUrl}/__free__/api/get_token`;
return axios({
method: "POST",
@@ -14,6 +14,6 @@ const getTokenFree = async (baseUrl, data = {}) => {
});
};
module.exports = {
export {
getTokenFree,
};