refactor: huawei

pull/21/merge
xiaojunnuo 2023-05-09 13:53:16 +08:00
parent d2897cefaa
commit f489c59ca3
1 changed files with 2 additions and 2 deletions

View File

@ -114,9 +114,9 @@ module.exports = async function(client, userOpts) {
/* Trigger challengeCreateFn() */
log(`[auto] [${d}] Trigger challengeCreateFn()`);
const keyAuthorization = await client.getChallengeKeyAuthorization(challenge);
let recordItem = null;
try {
const recordItem = await opts.challengeCreateFn(authz, challenge, keyAuthorization);
recordItem = await opts.challengeCreateFn(authz, challenge, keyAuthorization);
/* Challenge verification */
if (opts.skipChallengeVerification === true) {