Skip to content

Commit

Permalink
Fix doc of generate_qr_code return
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 4, 2023
1 parent 244aabe commit a975684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ impl VerificationRequest {
/// Generate a QR code that can be used by another client to start
/// a QR code based verification.
///
/// Returns a `Qr`.
/// Returns a `Qr` or `undefined`.
#[cfg(feature = "qrcode")]
#[wasm_bindgen(js_name = "generateQrCode")]
pub fn generate_qr_code(&self) -> Promise {
Expand Down

0 comments on commit a975684

Please sign in to comment.