mirror of https://github.com/CrowCpp/Crow.git
Fix code formatting.
This commit is contained in:
parent
befdcd34de
commit
628361b6f7
|
@ -81,8 +81,7 @@ int main()
|
|||
|
||||
// more json example
|
||||
CROW_ROUTE(app, "/add_json")
|
||||
.methods("POST"_method)
|
||||
([](const crow::request& req) {
|
||||
.methods("POST"_method)([](const crow::request& req) {
|
||||
auto x = crow::json::load(req.body);
|
||||
if (!x)
|
||||
return crow::response(400);
|
||||
|
|
Loading…
Reference in New Issue