Skip to content

Commit

Permalink
patch: use globalThis. over global. (#5895)
Browse files Browse the repository at this point in the history
  • Loading branch information
KATT authored Jul 13, 2024
1 parent a07227d commit 976b066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/prisma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import { PrismaClient } from '@prisma/client';

const prismaGlobal = global as typeof global & {
const prismaGlobal = globalThis as typeof globalThis & {
prisma?: PrismaClient;
};

Expand Down

0 comments on commit 976b066

Please sign in to comment.