Changeset f5b256e for my-react-app/src/axios_helper.js
- Timestamp:
- 04/28/25 14:20:18 (3 weeks ago)
- Branches:
- main
- Children:
- deea3c4
- Parents:
- 8ca35dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
my-react-app/src/axios_helper.js
r8ca35dc rf5b256e 5 5 6 6 export const getAuthToken = () => { 7 return window.localStorage.getItem(" auth_token");7 return window.localStorage.getItem("token"); 8 8 } 9 9 … … 17 17 method: method, 18 18 url: url, 19 data: data 19 data: data ? JSON.stringify(data) : null, 20 headers 20 21 }) 21 22 }
Note:
See TracChangeset
for help on using the changeset viewer.