From 9a1db07f5cff7c2c0134f20791faf8a7e06cc8c7 Mon Sep 17 00:00:00 2001 From: Johns Beharry Date: Mon, 19 Sep 2022 19:16:18 +0200 Subject: [PATCH] chore(database): use edge client for prisma data proxy --- api/prisma/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/prisma/index.js b/api/prisma/index.js index 2013b99..42dcb51 100644 --- a/api/prisma/index.js +++ b/api/prisma/index.js @@ -1,4 +1,4 @@ -const { PrismaClient } = require('@prisma/client'); +const { PrismaClient } = require('@prisma/client/edge'); const createGlobalModule = require('../utils/createGlobalModule');