vtlab-generic-functions 1.0.19 → 1.0.20

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/package.json +1 -1
  2. package/rds/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtlab-generic-functions",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "scripts": {
5
5
  "test": "jest"
6
6
  },
package/rds/index.js CHANGED
@@ -9,7 +9,7 @@ const {getValueOrNull} = require('../utils/index');
9
9
  */
10
10
  const connectMyRDS = async (databaseName) => {
11
11
  try {
12
- const dbParams = await config.get(`databaseName.rds`);
12
+ const dbParams = await config.get(databaseName, "rds");
13
13
 
14
14
  if (!dbParams) {
15
15
  throw new Error('Database name is not valid in the Secret Manager');