update invite center staff
This commit is contained in:
@@ -79,7 +79,7 @@ import { initContextCache } from '@pothos/core';
|
||||
subscriptions: {
|
||||
'graphql-ws': true,
|
||||
},
|
||||
context: async (req: Request) => ({
|
||||
context: async ({ req }: { req: Request }) => ({
|
||||
...initContextCache(),
|
||||
me: await new GraphqlService(new PrismaService()).acquireContext(req),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user