From 105090db60f2c6e83585691b0d0d2019b47052db Mon Sep 17 00:00:00 2001 From: h345983745 Date: Wed, 6 Feb 2019 22:50:46 +0000 Subject: [PATCH] Spelling Check --- src/core/operations/DNSOverHTTPS.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/operations/DNSOverHTTPS.mjs b/src/core/operations/DNSOverHTTPS.mjs index e0884430..06519f48 100644 --- a/src/core/operations/DNSOverHTTPS.mjs +++ b/src/core/operations/DNSOverHTTPS.mjs @@ -20,11 +20,11 @@ class HTTPSOverDNS extends Operation { this.name = "DNS over HTTPS"; this.module = "Code"; - this.description = ["Takes a single domain name and performs a DNS lookup using DNS vver HTTPS.", + this.description = ["Takes a single domain name and performs a DNS lookup using DNS over HTTPS.", "

", "By default, Cloudflare and Google DNS over HTTPS services are supported.", "

", - "Can be used with any service that supports the GET paramaters name and type."].join('\n'); + "Can be used with any service that supports the GET parameters name and type."].join('\n'); this.infoURL = "https://en.wikipedia.org/wiki/DNS_over_HTTPS"; this.inputType = "string"; this.outputType = "JSON"; @@ -55,7 +55,7 @@ class HTTPSOverDNS extends Operation { ] }, { - name: "Show Just Answer Data", + name: "Answer Data Only", type: "boolean", value: false }, @@ -92,7 +92,8 @@ class HTTPSOverDNS extends Operation { } return data; - }).catch(e => {throw new OperationError("Error making request to :" + url + e.toString())}) + }).catch(e => {throw new OperationError("Error making request to : " + url + "\n" + + "Error Message: " + e.toString())}) }