Skip to content

Commit d5379aa

Browse files
committed
fix: correct netlify env var
1 parent c985a02 commit d5379aa

File tree

1 file changed

+1
-1
lines changed
  • platforms-serverless/netlify-cli/functions

1 file changed

+1
-1
lines changed

platforms-serverless/netlify-cli/functions/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { PrismaClient, Prisma } = require('./generated/client')
22
const { PrismaPg } = require('@prisma/adapter-pg')
33

44
const client = new PrismaClient({
5-
adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }),
5+
adapter: new PrismaPg({ connectionString: process.env.NETLIFY_PG_URL }),
66
})
77

88
exports.handler = async function (event, context, callback) {

0 commit comments

Comments
 (0)