update invite center staff

This commit is contained in:
2024-10-27 19:47:50 +07:00
parent a5e9ad5ac1
commit ef89372e8c
10 changed files with 52 additions and 24 deletions

View File

@@ -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),
}),