We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98fdf98 commit e12066bCopy full SHA for e12066b
1 file changed
src/core/services/AuthenticationOrchestrator.ts
@@ -369,8 +369,7 @@ export class AuthenticationOrchestrator implements IAuthenticationProvider {
369
headers
370
);
371
if (!response.ok) throw AuthError.fromResponse(response, json);
372
- // The response is already camelCased by the API, so we can cast it directly.
373
- return json as MfaChallengeResponse;
+ return deepCamelCase<MfaChallengeResponse>(json);
374
}
375
376
async revoke(parameters: RevokeOptions): Promise<void> {
0 commit comments