Skip to content

Commit 331cec4

Browse files
authored
docs(prisma): add missing await to async function
1 parent d62917e commit 331cec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/prisma.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ import { PrismaService } from './services/prisma/prisma.service';
533533
async function bootstrap() {
534534
...
535535
const prismaService: PrismaService = app.get(PrismaService);
536-
prismaService.enableShutdownHooks(app)
536+
await prismaService.enableShutdownHooks(app)
537537
...
538538
}
539539
bootstrap()

0 commit comments

Comments
 (0)