mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
refactor: huawei
This commit is contained in:
@@ -114,9 +114,9 @@ module.exports = async function(client, userOpts) {
|
|||||||
/* Trigger challengeCreateFn() */
|
/* Trigger challengeCreateFn() */
|
||||||
log(`[auto] [${d}] Trigger challengeCreateFn()`);
|
log(`[auto] [${d}] Trigger challengeCreateFn()`);
|
||||||
const keyAuthorization = await client.getChallengeKeyAuthorization(challenge);
|
const keyAuthorization = await client.getChallengeKeyAuthorization(challenge);
|
||||||
|
let recordItem = null;
|
||||||
try {
|
try {
|
||||||
const recordItem = await opts.challengeCreateFn(authz, challenge, keyAuthorization);
|
recordItem = await opts.challengeCreateFn(authz, challenge, keyAuthorization);
|
||||||
|
|
||||||
/* Challenge verification */
|
/* Challenge verification */
|
||||||
if (opts.skipChallengeVerification === true) {
|
if (opts.skipChallengeVerification === true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user