Skip to content

Commit d1d4f6a

Browse files
committed
Fix typo
1 parent caad7b3 commit d1d4f6a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/db.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ declare global {
77

88
// This is needed because in development we don't want to restart
99
// the server with every change, but we want to make sure we don't
10-
// create a new connectison to the DB with every change either.
10+
// create a new connection to the DB with every change either.
1111
if (process.env.NODE_ENV !== "development") {
1212
prismaClient = new PrismaClient();
1313
prismaClient.$connect();
@@ -19,7 +19,6 @@ if (process.env.NODE_ENV !== "development") {
1919
prismaClient = global.__db;
2020
}
2121

22-
2322
// Have to cast it manually, because webstorm can't infer it for some reason
2423
// https://github.com/prisma/prisma/issues/2359#issuecomment-963340538
2524
export const prisma = prismaClient;

0 commit comments

Comments
 (0)