Sfoglia il codice sorgente

ref: rename axios base opts

Sven 1 anno fa
parent
commit
017a72133e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/axios.ts

+ 1 - 1
src/axios.ts

@@ -4,7 +4,7 @@ export const axios = _axios.create({
   timeout: 1000 * 15,
 });
 
-export function getAxiosAuthConfig() {
+export function baseAxiosOpts() {
   const authToken = process.env.GENIUS_ACCESS_TOKEN;
   return authToken && authToken.length > 0 ? {
     headers: {