mirror of
https://github.com/BradNut/example-sveltekit-email-password-webauthn
synced 2025-09-08 17:40:27 +00:00
fix code
This commit is contained in:
parent
84bc435a2f
commit
3c3292b134
2 changed files with 6 additions and 6 deletions
|
|
@ -72,9 +72,9 @@ async function action(event: RequestEvent) {
|
|||
}
|
||||
|
||||
const formData = await event.request.formData();
|
||||
let name = formData.get("name");
|
||||
let encodedAttestationObject = formData.get("attestation_object");
|
||||
let encodedClientDataJSON = formData.get("client_data_json");
|
||||
const name = formData.get("name");
|
||||
const encodedAttestationObject = formData.get("attestation_object");
|
||||
const encodedClientDataJSON = formData.get("client_data_json");
|
||||
if (
|
||||
typeof name !== "string" ||
|
||||
typeof encodedAttestationObject !== "string" ||
|
||||
|
|
|
|||
|
|
@ -76,9 +76,9 @@ async function action(event: RequestEvent) {
|
|||
}
|
||||
|
||||
const formData = await event.request.formData();
|
||||
let name = formData.get("name");
|
||||
let encodedAttestationObject = formData.get("attestation_object");
|
||||
let encodedClientDataJSON = formData.get("client_data_json");
|
||||
const name = formData.get("name");
|
||||
const encodedAttestationObject = formData.get("attestation_object");
|
||||
const encodedClientDataJSON = formData.get("client_data_json");
|
||||
if (
|
||||
typeof name !== "string" ||
|
||||
typeof encodedAttestationObject !== "string" ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue