diff options
author | Matthew Miller <matthew@millerti.me> | 2022-07-04 15:24:12 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-07-04 15:24:12 -0700 |
commit | a35153f110699155fee451e72920ae7147060c5a (patch) | |
tree | fae78e8d241ed2f4d2ef45dd8c35ba6ef0048082 /example/index.ts | |
parent | 95dbd41c8320007440e29382ddd0442804feebea (diff) |
Allow transports to be undefined
Diffstat (limited to 'example/index.ts')
-rw-r--r-- | example/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/index.ts b/example/index.ts index 3adc926..35f5d93 100644 --- a/example/index.ts +++ b/example/index.ts @@ -213,7 +213,7 @@ app.get('/generate-authentication-options', (req, res) => { allowCredentials: user.devices.map(dev => ({ id: dev.credentialID, type: 'public-key', - transports: dev.transports ?? ['usb', 'ble', 'nfc', 'internal'], + transports: dev.transports, })), userVerification: 'required', rpID, |