Skip to content

Commit ee2a97b

Browse files
authored
patch: use globalThis. over global. (#5895)
1 parent 9a6b9c7 commit ee2a97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/prisma.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import { env } from './env';
66
import { PrismaClient } from '@prisma/client';
77

8-
const prismaGlobal = global as typeof global & {
8+
const prismaGlobal = globalThis as typeof globalThis & {
99
prisma?: PrismaClient;
1010
};
1111

0 commit comments

Comments
 (0)