Skip to content

Commit

Permalink
Merge pull request #191 from d35ha/patch-1
Browse files Browse the repository at this point in the history
Replace `HTTPMethod::GET` with `HTTPMethod::Get`
  • Loading branch information
The-EDev committed Aug 7, 2021
2 parents 077bf0f + 62af482 commit a24f15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/routing.h
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit a24f15a

Please sign in to comment.