payservedb 2.2.4 → 2.2.5

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/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -12,8 +12,8 @@ const source = process.env.source
12
12
  async function connectToMongoDB(dbName) {
13
13
  try {
14
14
  //reV_Server:Inc0rr3ct12@
15
- const authorization = "Ps:Letmein987@"
16
- const connectionString = `mongodb://${authorization}${url}/${dbName}${source}`;
15
+ // const authorization = "Ps:Letmein987@"
16
+ const connectionString = `mongodb://Ps:Letmein987@127.0.0.1:27017/${dbName}${source}`;
17
17
  await mongoose.connect(connectionString, {
18
18
  useUnifiedTopology: true,
19
19
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"