From 171578b232f26f9d0d5d3193cbc534c07c15d637 Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Sun, 7 Feb 2021 19:09:23 +0000 Subject: [PATCH] corrects doc bug with http commands all being set to post. --- CLI/WikiMake/wikimake.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLI/WikiMake/wikimake.cs b/CLI/WikiMake/wikimake.cs index b2844ac..7f44766 100644 --- a/CLI/WikiMake/wikimake.cs +++ b/CLI/WikiMake/wikimake.cs @@ -536,7 +536,7 @@ namespace BetterSecondBot.WikiMake { C.about = About.ConstructorArguments[0].Value.ToString(); } - if (httpverb.ConstructorArguments[0].Value is HttpVerbs.Get) + if ((int)httpverb.ConstructorArguments[0].Value == 2) { C.type = "Get"; }