Skip to content

Commit 31d10df

Browse files
osamajvdtnorling
andauthored
Fix typo in login-user.md (#6364)
Co-authored-by: Thomas Norling <[email protected]>
1 parent 5d05054 commit 31d10df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msal-browser/docs/login-user.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const username = "[email protected]";
7474
const myAccount: AccountInfo = msalInstance.getAccountByUsername(username);
7575

7676
const homeAccountId = "userid.hometenantid"; // Best to retrieve the homeAccountId from an account object previously obtained through msal
77-
const myAccount: AccountInfo = maslInstance.getAccountByHomeId(homeAccountId);
77+
const myAccount: AccountInfo = msalInstance.getAccountByHomeId(homeAccountId);
7878
```
7979

8080
**Note:** `getAccountByUsername()` is provided for convenience and should be considered less reliable than `getAccountByHomeId()`. When possible use `getAccountByHomeId()`.

0 commit comments

Comments
 (0)