We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3729595 commit 3c1459bCopy full SHA for 3c1459b
test/testHelpers.js
@@ -14,7 +14,9 @@ const apiClient = new docusign.ApiClient({
14
15
const authenticate = async (apiTypes) => {
16
try {
17
- const privateKeyFile = fs.readFileSync(path.resolve(__dirname, PRIVATE_KEY_FILENAME));
+ const privateKeyFile = config.privateKey
18
+ ? config.privateKey
19
+ : fs.readFileSync(path.resolve(__dirname, PRIVATE_KEY_FILENAME));
20
21
let scopes = SCOPES;
22
0 commit comments