From d5c1b54918a4e9b2edf445e5a45fd132ed0c1df4 Mon Sep 17 00:00:00 2001 From: Mustafa Mahmoud <43878201+d35ha@users.noreply.github.com> Date: Fri, 6 Aug 2021 19:01:13 +0200 Subject: [PATCH] Replace `HTTPMethod::GET` with `HTTPMethod::Get` --- include/crow/routing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crow/routing.h b/include/crow/routing.h index 64e1de09a..38a5aa594 100644 --- a/include/crow/routing.h +++ b/include/crow/routing.h @@ -1332,7 +1332,7 @@ namespace crow } } else if (!blueprint->static_dir_.empty()) - methods.emplace_back(HTTPMethod::GET); + methods.emplace_back(HTTPMethod::Get); for (auto& rule: blueprint->all_rules_) { rule->foreach_method([&methods](unsigned method){