crazy-odds-bet-shared 1.0.5 → 1.0.6

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/db/mongodb.js +1 -1
  2. package/package.json +1 -1
package/db/mongodb.js CHANGED
@@ -41,7 +41,7 @@ class MongoDB {
41
41
  ) {
42
42
  try {
43
43
  const uri = connectionString || process.env.MONGODB_URI;
44
- const database = dbName || process.env.DB_NAME;
44
+ const database = dbName || process.env.MONGODB_DATABASE;
45
45
 
46
46
  if (!uri) {
47
47
  throw new Error('MongoDB URI not provided. Set MONGODB_URI in .env or pass as parameter.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crazy-odds-bet-shared",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Shared MongoDB models and utilities for odds project",
5
5
  "main": "index.js",
6
6
  "exports": {