Fix code formatting.

This commit is contained in:
Laguna Du 2022-10-27 15:55:36 +08:00
parent befdcd34de
commit 628361b6f7

View File

@ -81,8 +81,7 @@ int main()
// more json example // more json example
CROW_ROUTE(app, "/add_json") CROW_ROUTE(app, "/add_json")
.methods("POST"_method) .methods("POST"_method)([](const crow::request& req) {
([](const crow::request& req) {
auto x = crow::json::load(req.body); auto x = crow::json::load(req.body);
if (!x) if (!x)
return crow::response(400); return crow::response(400);