Skip to content

Commit 25999c2

Browse files
committed
rename property
1 parent ddc6cfa commit 25999c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msal-node/src/client/PublicClientApplication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class PublicClientApplication extends ClientApplication implements IPubli
9191
*/
9292
async acquireTokenInteractive(request: InteractiveRequest): Promise<AuthenticationResult> {
9393
const { verifier, challenge } = await this.cryptoProvider.generatePkceCodes();
94-
const { openBrowser, successTemplate, errorTemplate, customLoopbackClient, ...remainingProperties } = request;
94+
const { openBrowser, successTemplate, errorTemplate, loopbackClient: customLoopbackClient, ...remainingProperties } = request;
9595

9696
const loopbackClient: ILoopbackClient = customLoopbackClient || new LoopbackClient();
9797

lib/msal-node/test/client/PublicClientApplication.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ describe('PublicClientApplication', () => {
291291
const request: InteractiveRequest = {
292292
scopes: TEST_CONSTANTS.DEFAULT_GRAPH_SCOPE,
293293
openBrowser: openBrowser,
294-
customLoopbackClient: customLoopbackClient,
294+
loopbackClient: customLoopbackClient,
295295
};
296296

297297
const MockAuthorizationCodeClient = getMsalCommonAutoMock().AuthorizationCodeClient;

0 commit comments

Comments
 (0)