docs: Update BUG_REPORT

This commit is contained in:
Marc Rousavy 2024-01-11 16:41:15 +01:00 committed by GitHub
parent 322b6fcbd6
commit eb14aa1402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,11 +58,11 @@ body:
Paste the JSON Camera `device` that was used here.
Make sure to leave out the `formats` prop as that is too long for the issue.
Run this code in your app to get the `device` as a JSON:
```
device.formats = undefined
console.log(JSON.stringify(device, null, 2))
console.log(JSON.stringify(device, (k, v) => k === "formats" ? [] : v, 2))
```