forked from engineering/cloudservices
Lint
parent
acf6db96da
commit
7174fb248e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue