Skip to content

Commit 0a15807

Browse files
TCA-852 fix property names
1 parent 5f71fc5 commit 0a15807

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src-ts/lib/profile-provider/profile-functions/profile.functions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ export async function getAsync(handle?: string): Promise<UserProfile | undefined
1919

2020
// get the profile
2121
const profilePromise: Promise<UserProfile> = profileStoreGet(safeHandle)
22-
const mfaPromise: Promise<boolean> = userGetDiceStatusAsync(token.userId)
22+
const dicePromise: Promise<boolean> = userGetDiceStatusAsync(token.userId)
2323

24-
const [profileResult, mfaEnabled]: [UserProfile, boolean] = await Promise.all([profilePromise, mfaPromise])
24+
const [profileResult, diceEnabled]: [UserProfile, boolean] = await Promise.all([profilePromise, dicePromise])
2525

2626
// make the changes we need based on the token
27-
const output: UserProfile = profileFactoryCreate(profileResult, token, mfaEnabled)
27+
const output: UserProfile = profileFactoryCreate(profileResult, token, diceEnabled)
2828
return output
2929
}
3030

0 commit comments

Comments
 (0)