Skip to content

Commit

Permalink
Addeed debugging for session
Browse files Browse the repository at this point in the history
  • Loading branch information
bduff9 committed Nov 19, 2021
1 parent 9659fd8 commit 08fd06b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions utils/apollo-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export const getApolloClient = async (): Promise<ApolloClient<NormalizedCacheObj
headers = {} as HeadersInit;
}

console.log('Session obj: ', session);

if (session) {
headers.authorization = `Bearer ${session.accessToken}`;
}
Expand Down

0 comments on commit 08fd06b

Please sign in to comment.