фикс маленьких ошибок

This commit is contained in:
Антон
2025-08-27 12:02:49 +03:00
parent e27e908ff7
commit 4e2a97edcb
+2 -2
View File
@@ -28,7 +28,7 @@ public:
{ {
routes_pathes_["/api/v1/Auth/Register"] = std::make_unique<RouteController>( routes_pathes_["/api/v1/Auth/Register"] = std::make_unique<RouteController>(
typename RouteController::HTTPMethodsToExecutors{ typename RouteController::HTTPMethodsToExecutors{
{boost::beast::http::verb::post, std::make_shared<RouteAuthRegistrationExecutor>()} {boost::beast::http::verb::get, std::make_shared<RouteAuthRegistrationExecutor>()}
} }
); );
} }
@@ -40,7 +40,7 @@ public:
) )
{ {
const std::string& route = req.target(); const std::string& route = req.target();
const bool is_match_route = !routes_pathes_.count(route); const bool is_match_route = routes_pathes_.count(route);
if (is_match_route) if (is_match_route)
{ {