1
0
Fork 0
refactor/models
Bsian 2019-10-30 17:35:29 +00:00
parent acf6db96da
commit 7174fb248e
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 4 additions and 4 deletions

View File

@ -128,10 +128,10 @@ export default class CWG extends Command {
if (resultID.data.result[0]) { if (resultID.data.result[0]) {
const recordID = resultID.data.result[0].id; const recordID = resultID.data.result[0].id;
await axios({ await axios({
method: 'delete', method: 'delete',
url: `https://api.cloudflare.com/client/v4/zones/5e82fc3111ed4fbf9f58caa34f7553a7/dns_records/${recordID}`, url: `https://api.cloudflare.com/client/v4/zones/5e82fc3111ed4fbf9f58caa34f7553a7/dns_records/${recordID}`,
headers: { Authorization: `Bearer ${this.client.config.cloudflare}` }, headers: { Authorization: `Bearer ${this.client.config.cloudflare}` },
}); });
} }
} }
try { try {