generated from Sithas/conan_template
фикс маленьких ошибок
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user