From 93ed60efa36f7a4a439653e1c899b9ed2fe2d6c5 Mon Sep 17 00:00:00 2001 From: OrJDev Date: Sun, 30 Oct 2022 14:39:26 +0200 Subject: [PATCH] prisma import env from the wrong place --- package.json | 2 +- src/installers/Prisma/files/client.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 39019c6..ecde048 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-jd-app", - "version": "1.0.59", + "version": "1.0.60", "main": "dist/index.js", "scripts": { "test": "ts-node -r tsconfig-paths/register src", diff --git a/src/installers/Prisma/files/client.txt b/src/installers/Prisma/files/client.txt index 22ccf51..6d1e656 100644 --- a/src/installers/Prisma/files/client.txt +++ b/src/installers/Prisma/files/client.txt @@ -1,5 +1,5 @@ import { PrismaClient } from "@prisma/client"; -import env from "~/env"; +import env from "~/env/server"; declare global { var prisma: PrismaClient | undefined;