Skip to content

Commit b4c84b8

Browse files
author
replydev
committed
ops
1 parent e0e2459 commit b4c84b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/otp_helper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub fn get_json_results() -> String{
5959
results.push(JsonResult::new(i+1,elements[i].issuer(),elements[i].label(),otp_code))
6060
}
6161

62-
let json_string: &str = &serde_json::to_string_pretty(&elements).unwrap();
62+
let json_string: &str = &serde_json::to_string_pretty(&results).unwrap();
6363

6464
json_string.to_string()
6565
}

0 commit comments

Comments
 (0)