fix(core): update

This commit is contained in:
Philipp Kunz 2019-01-18 01:34:59 +01:00
parent 82b1d68576
commit 9d5f0d7a5d

View File

@ -35,9 +35,9 @@ export class CertRemoteClient {
} }
} }
)).body; )).body;
console.log(responseBody);
switch (responseBody.status as interfaces.TCertStatus) { switch (responseBody.status as interfaces.TCertStatus) {
case 'pending': case 'pending':
this.logger.log('info', `request for ${domainNameArg} still pending!`);
await plugins.smartdelay.delayFor(5000); await plugins.smartdelay.delayFor(5000);
const finalResponse = await doRequestCycle(); const finalResponse = await doRequestCycle();
return finalResponse; return finalResponse;