diff --git a/client/src/_reducers/user.js b/client/src/_reducers/user.js index 5615374..e0a1d65 100644 --- a/client/src/_reducers/user.js +++ b/client/src/_reducers/user.js @@ -52,7 +52,7 @@ export const userSlice = createSlice({ state.status = "complete"; httpClientForCredentials.defaults.headers.common[ "Authorization" - ] = `Bearer ${action.payload.accestoken}`; + ] = `Bearer ${action.payload.accesstoken}`; }); builder.addCase(asynsLoginFetch.rejected, (state, action) => { state.status = "fail";