From 8d9f6555ae48abb5a52584e363fca5c98bd022ce Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 20 Oct 2019 22:48:38 -0400 Subject: [PATCH] remove unused const --- src/commands/cwg.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cwg.ts b/src/commands/cwg.ts index b5a58b1..335fbda 100644 --- a/src/commands/cwg.ts +++ b/src/commands/cwg.ts @@ -106,7 +106,7 @@ export default class CWG extends Command { enabled: true, }); if (domain.includes('cloud.libraryofcode.org')) { - const method = await axios({ + await axios({ method: 'post', url: 'https://api.cloudflare.com/client/v4/zones/5e82fc3111ed4fbf9f58caa34f7553a7/dns_records', headers: { Authorization: `Bearer ${this.client.config.cloudflare}`, 'Content-Type': 'application/json' },