We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a80f875 commit bdb2a34Copy full SHA for bdb2a34
1 file changed
README.md
@@ -44,8 +44,8 @@ pnpm add @joggr/fastify-prisma
44
### `javascript`
45
46
```javascript
47
-const { PrismaClient } = require('../my-prisma-client');
48
const fastifyPrisma = require('@joggr/fastify-prisma');
+const { PrismaClient } = require('../my-prisma-client');
49
50
await fastify.register(fastifyPrisma, {
51
client: new PrismaClient(),
@@ -57,8 +57,8 @@ await fastify.register(fastifyPrisma, {
57
#### Setup
58
59
```typescript
60
-import { PrismaClient } from '../my-prisma-client';
61
import fastifyPrisma from '@joggr/fastify-prisma';
+import { PrismaClient } from '../my-prisma-client';
62
63
// Add this so you get types across the board
64
declare module 'fastify' {
0 commit comments