chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-08-10 13:38:52 -07:00
parent ad78efb46f
commit 675e4c9199
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -63,7 +63,7 @@ export default define(meta, paramDef, async (ps, user) => {
const clientDataJSONHash = hash(Buffer.from(ps.clientDataJSON, "utf-8"));
const attestation = decode(Buffer.from(ps.attestationObject, "utf-8"));
const rpIdHash = attestation.authData.slice(0, 32);
if (!rpIdHashReal.equals(rpIdHash)) {
throw new Error("rpIdHash mismatch");