MCPcopy Index your code
hub / github.com/WardAnalytics/WardGraph / instance

Function instance

src/api/instance.ts:18–24  ·  view source on GitHub ↗
(config: AxiosRequestConfig)

Source from the content-addressed store, hash-verified

16});
17
18export const instance = <T>(config: AxiosRequestConfig): Promise<T> => {
19 const source = Axios.CancelToken.source();
20 const promise = AXIOS_INSTANCE({ ...config, cancelToken: source.token }).then(
21 ({ data }) => data,
22 );
23 return promise;
24};

Callers 5

getLabelsFunction · 0.90
searchLabelsFunction · 0.90
getCategoryFunction · 0.90
getTransactionsFunction · 0.90
analysisAddressDataFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected