Skip to content

Commit

Permalink
HCK: added default parameter (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilhelmWesser authored Nov 12, 2024
1 parent 8ff55b7 commit 75c85b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reverse_engineering/databaseService/helpers/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class AzureActiveDirectoryMFAConnection extends Connection {
return new https.Agent({ cert, key, rejectUnauthorized: Boolean(reject) });
}

async #getTokenByAxios({ agent }) {
async #getTokenByAxios({ agent } = {}) {
try {
const params = new URLSearchParams();
params.append('code', this.connectionInfo?.externalBrowserQuery?.code || '');
Expand Down

0 comments on commit 75c85b4

Please sign in to comment.