Skip to content

Commit

Permalink
[Fix] 😅 Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Feb 2, 2024
1 parent 2dba860 commit f95c427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/challenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const respChallengeHtml = `
} else {
window.parent.postMessage("verificationFailed", "*");
}
}).cache(() => {
}).catch(() => {
window.parent.postMessage("verificationFailed", "*");
});
}
Expand Down
2 changes: 1 addition & 1 deletion cloudflare/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ const challengeResponseBody = `
} else {
window.parent.postMessage("verificationFailed", "*");
}
}).cache(() => {
}).catch(() => {
window.parent.postMessage("verificationFailed", "*");
});
}
Expand Down

0 comments on commit f95c427

Please sign in to comment.