passthrough authorization header to trpc user middleware
This commit is contained in:
parent
c18875f369
commit
f63a6ac96b
@ -15,7 +15,7 @@ export const userMiddleware = t.middleware(async ({ ctx, next }) => {
|
||||
});
|
||||
}
|
||||
|
||||
const apolloClient = initializeApollo();
|
||||
const apolloClient = initializeApollo(null, ctx.headers);
|
||||
|
||||
const {
|
||||
data: { systemusers },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user