diff --git a/api/context.ts b/api/context.ts index 3e984fe..d2f48e9 100644 --- a/api/context.ts +++ b/api/context.ts @@ -5,8 +5,6 @@ export interface Context { db: PrismaClient } -export function createContext(): Context { - return { - db, - } +export const context = { + db, }