Skip to content

Commit

Permalink
fix: the verification show failed message but it sent the request to …
Browse files Browse the repository at this point in the history
…relyng party (#495)
  • Loading branch information
phoebus-84 authored Oct 14, 2024
1 parent d15e1e8 commit 743debb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
let date = '';
let verified: boolean;
let success: boolean;
let verifyIsClicked = false;
let scrollBox: HTMLDivElement;
const { info, post_without_vp } = $verificationStore;
Expand All @@ -65,7 +64,6 @@
};
const verify = async () => {
verifyIsClicked = true;
try {
verificationResponse = (await verifyCredential({
...post_without_vp,
Expand Down Expand Up @@ -123,7 +121,7 @@
<d-session-card
sid={post_without_vp.body.id}
{date}
in-progress={!success}
in-progress={success}
in-progress-message={m.tidy_royal_giraffe_stop()}
success-message={m.just_sleek_ape_fall()}
failure-message={m.teary_seemly_dragonfly_cheer()}
Expand Down

0 comments on commit 743debb

Please sign in to comment.