@a_team/prisma 2.0.11 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ class ATeamPrismaClient extends client_1.PrismaClient {
22
22
  this.url = url;
23
23
  }
24
24
  async connect() {
25
- process.env.DATABASE_URL = this.url;
25
+ process.env.MONGODB_URL = this.url;
26
26
  await this.$connect();
27
27
  }
28
28
  async disconnect() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "build": "rm -rf ./dist & npm run generate & tsc",