From bc12aded51f1e27ad57d45444d373bb4d123da23 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 19 Sep 2019 19:36:37 -0700 Subject: [PATCH] Fixed typo. --- src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt b/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt index 7b2ee7d..5706d90 100644 --- a/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt +++ b/src/main/kotlin/net/thauvin/erik/akismet/Akismet.kt @@ -120,7 +120,7 @@ open class Akismet(apiKey: String) { * The X-akismet-debug-help header from the last operation, if any. */ @Suppress("MemberVisibilityCanBePrivate") - var degugHelp: String = "" + var debugHelp: String = "" private set /** @@ -145,7 +145,7 @@ open class Akismet(apiKey: String) { } /** - * Create a new instance using [Akismet](https://www.askimet.com/) API key and blog URL registered with Akismet. + * Create a new instance using an [Akismet](https://www.askimet.com/) API key and blog URL registered with Akismet. */ constructor(apiKey: String, blog: String) : this(apiKey) { this.blog = blog @@ -464,7 +464,7 @@ open class Akismet(apiKey: String) { httpStatusCode = result.code proTip = result.header("x-akismet-pro-tip", "").toString() error = result.header("x-akismet-error", "").toString() - degugHelp = result.header("x-akismet-debug-help", "").toString() + debugHelp = result.header("x-akismet-debug-help", "").toString() val body = result.body?.string() if (body != null) { val response = body.trim()