Fixed import axios
This commit is contained in:
parent
a30c05e942
commit
967d06ed1e
@ -1,4 +1,4 @@
|
|||||||
const axios = require("axios");
|
import axios from "axios";
|
||||||
|
|
||||||
const getTokenFree = async (baseUrl: string, data: any = {}) => {
|
const getTokenFree = async (baseUrl: string, data: any = {}) => {
|
||||||
const url = `${baseUrl}/__free__/api/get_token`;
|
const url = `${baseUrl}/__free__/api/get_token`;
|
||||||
|
Loading…
Reference in New Issue
Block a user