corrects doc bug with http commands all being set to post.

This commit is contained in:
Madpeterz 2021-02-07 19:09:23 +00:00
parent 92bc9dceb9
commit 171578b232

View file

@ -536,7 +536,7 @@ namespace BetterSecondBot.WikiMake
{ {
C.about = About.ConstructorArguments[0].Value.ToString(); 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"; C.type = "Get";
} }