user log in finished

This commit is contained in:
Elijah Lucian
2021-07-15 22:00:26 -06:00
parent 18ebca4c0a
commit 4e6b393b23
8 changed files with 24274 additions and 1525 deletions
+5
View File
@@ -21,6 +21,11 @@ export const AppContextProvider = ({ children, baseURL }: Props) => {
api.interceptors.request.use((config) => {
// config.url += '?format=json'
config.headers = {
Authorization: `Token ${window.localStorage.getItem(
'cash-stacks-token',
)}`,
}
return config
})