We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84d605 commit e7a1988Copy full SHA for e7a1988
api/context.ts
@@ -5,8 +5,6 @@ export interface Context {
5
db: PrismaClient
6
}
7
8
-export function createContext(): Context {
9
- return {
10
- db,
11
- }
+export const context = {
+ db,
12
0 commit comments