Skip to content

Commit

Permalink
fix: remove deprecated prisma.connect from template (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
cball authored Sep 30, 2020
1 parent adae31d commit 4bcca65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/lib/prisma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function disconnect() {
}

export async function connect() {
await prisma.connect();
await prisma.$connect();

return true;
}

0 comments on commit 4bcca65

Please sign in to comment.