Skip to content

Commit 62df00f

Browse files
committed
fix: correct CESR encoding
1 parent cee8dbe commit 62df00f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h2>Tooltip Mode</h2>
122122
addLog(`Verified: ${JSON.stringify(e.detail)}`);
123123
});
124124
el.addEventListener('auths-error', (e) => {
125-
addLog(`Error: ${e.detail}`);
125+
addLog(`Error: ${e.detail?.error ?? JSON.stringify(e.detail)}`);
126126
});
127127
});
128128
</script>

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// Minimal library crate — the point of this example is the verification badge,
22
/// not the Rust code.
33
pub fn greet() -> &'static str {
4-
"Hello from example-verify-badge!"
4+
"Hello from Auths!"
55
}
66

77
#[cfg(test)]
@@ -10,6 +10,6 @@ mod tests {
1010

1111
#[test]
1212
fn test_greet() {
13-
assert_eq!(greet(), "Hello from example-verify-badge!");
13+
assert_eq!(greet(), "Hello from Auths!");
1414
}
1515
}

0 commit comments

Comments
 (0)