Skip to content

Commit 3e37bbc

Browse files
committed
Trigger WS workflow to rebuild with fixed start command
1 parent dd8a99d commit 3e37bbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/db/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { PrismaClient } from '@prisma/client';
22

3-
const prismaClinentSingleton = () => {
3+
const prismaClientSingleton = () => {
44
return new PrismaClient;
55
}
66

7-
type PrismaClinentSingleton = ReturnType<typeof prismaClinentSingleton>;
7+
type PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>;
88

99
const globalForPrisma = globalThis as unknown as {
10-
prisma: PrismaClinentSingleton | undefined;
10+
prisma: PrismaClientSingleton | undefined;
1111
};
1212

13-
const prisma = globalForPrisma.prisma ?? prismaClinentSingleton();
13+
const prisma = globalForPrisma.prisma ?? prismaClientSingleton();
1414

1515
export default prisma;
1616

0 commit comments

Comments
 (0)