Skip to content

Commit 0f0d2f0

Browse files
Merge pull request #2172 from zwarag/patch-1
docs(prisma): add missing await in an async function
2 parents 1d0ade0 + 7f3bc2e commit 0f0d2f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/recipes/prisma.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,8 @@ import { PrismaService } from './services/prisma/prisma.service';
532532
...
533533
async function bootstrap() {
534534
...
535-
const prismaService: PrismaService = app.get(PrismaService);
536-
prismaService.enableShutdownHooks(app)
535+
const prismaService = app.get(PrismaService);
536+
await prismaService.enableShutdownHooks(app)
537537
...
538538
}
539539
bootstrap()

0 commit comments

Comments
 (0)