Browse Source

ref: rename axios base opts

Sven 1 năm trước cách đây
mục cha
commit
017a72133e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {