Task: Updated sdk client and updated the missing types for http tunnel client
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user