docs: fixup WebUSB fiddle (#37455)

docs: fixup webusb fiddle
This commit is contained in:
John Kleinschmidt 2023-03-07 15:36:31 -05:00 committed by GitHub
parent efde7a140b
commit 0d3aee26b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -1,5 +1,5 @@
function getDeviceDetails(device) {
return grantedDevice.productName || `Unknown device ${grantedDevice.deviceId}`
return device.productName || `Unknown device ${device.deviceId}`
}
async function testIt() {