fix(core): update

This commit is contained in:
Philipp Kunz 2020-02-10 14:38:44 +00:00
parent c65790e2f9
commit 7a992badf4

View File

@ -170,7 +170,7 @@ export class CloudflareAccount {
}, },
// acme convenience functions // acme convenience functions
acmeSetDnsChallenge: async (dnsChallenge: plugins.tsclass.network.IDnsChallenge) => { acmeSetDnsChallenge: async (dnsChallenge: plugins.tsclass.network.IDnsChallenge) => {
await this.convenience.removeRecord(dnsChallenge.hostName, 'TXT'); // await this.convenience.removeRecord(dnsChallenge.hostName, 'TXT');
await this.convenience.createRecord(dnsChallenge.hostName, 'TXT', dnsChallenge.challenge); await this.convenience.createRecord(dnsChallenge.hostName, 'TXT', dnsChallenge.challenge);
}, },
acmeRemoveDnsChallenge: async (dnsChallenge: plugins.tsclass.network.IDnsChallenge) => { acmeRemoveDnsChallenge: async (dnsChallenge: plugins.tsclass.network.IDnsChallenge) => {