We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0e2459 commit b4c84b8Copy full SHA for b4c84b8
src/otp_helper.rs
@@ -59,7 +59,7 @@ pub fn get_json_results() -> String{
59
results.push(JsonResult::new(i+1,elements[i].issuer(),elements[i].label(),otp_code))
60
}
61
62
- let json_string: &str = &serde_json::to_string_pretty(&elements).unwrap();
+ let json_string: &str = &serde_json::to_string_pretty(&results).unwrap();
63
64
json_string.to_string()
65
0 commit comments