We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc9604b commit 2cd6431Copy full SHA for 2cd6431
lib/api.ts
@@ -15,7 +15,7 @@ export async function GraphQL<TResult, TVariables>(
15
const session = await getSession();
16
17
const headers = {
18
- ...(session ? { Authorization: session?.access_token } : {}),
+ ...(session ? { Authorization: `Bearer ${session?.access_token}` } : {}),
19
...entityHeaders,
20
};
21
0 commit comments