sr-npm 1.7.465 → 1.7.466
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.
- package/backend/secretsData.js +2 -10
- package/package.json +1 -1
package/backend/secretsData.js
CHANGED
|
@@ -11,18 +11,10 @@ function getSmartToken() {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
function getCompanyId() {
|
|
14
|
-
|
|
15
|
-
console.log("using 53 versi$#@@#$@$@#$on of secrets")
|
|
16
|
-
const getSecretValue2 = auth.elevate(secrets.getSecretValue);
|
|
17
|
-
console.log("getSecretValue2 is : ", getSecretValue2);
|
|
18
|
-
|
|
19
|
-
return getSecretValue2("companyID")
|
|
14
|
+
return getSecretValue("companyID")
|
|
20
15
|
.then((secret) => {
|
|
21
16
|
return secret;
|
|
22
|
-
})
|
|
23
|
-
console.error("Error getting the company ID from the secrets: ", error);
|
|
24
|
-
throw error;
|
|
25
|
-
});
|
|
17
|
+
})
|
|
26
18
|
}
|
|
27
19
|
module.exports = {
|
|
28
20
|
getCompanyId,
|