diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-25 11:11:48 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-25 11:11:48 -0700 |
commit | ce486db665fd805fff59772dfc852ac2d4cb3a43 (patch) | |
tree | a727ea2d928d50cc576bd150d08cc4de679e22f5 /packages/browser/src/methods/startAttestation.ts | |
parent | 279723fc1cb10e653431a9d7dbe3592f760b3c8b (diff) |
Run Prettier over everything
Diffstat (limited to 'packages/browser/src/methods/startAttestation.ts')
-rw-r--r-- | packages/browser/src/methods/startAttestation.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAttestation.ts b/packages/browser/src/methods/startAttestation.ts index 1a4b13d..c095670 100644 --- a/packages/browser/src/methods/startAttestation.ts +++ b/packages/browser/src/methods/startAttestation.ts @@ -14,7 +14,7 @@ import supportsWebauthn from '../helpers/supportsWebauthn'; * @param creationOptionsJSON Output from @webauthntine/server's generateAttestationOptions(...) */ export default async function startAttestation( - creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON + creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON, ): Promise<AuthenticatorAttestationResponseJSON> { if (!supportsWebauthn()) { throw new Error('WebAuthn is not supported in this browser'); @@ -37,7 +37,7 @@ export default async function startAttestation( throw new Error('Attestation was not completed'); } - const { response } = (credential as AttestationCredential); + const { response } = credential as AttestationCredential; // Convert values to base64 to make it easier to send back to the server return { |