From 513210a304f9c6d09e2b57dd28c6daea165c93ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Thu, 29 Jan 2026 18:50:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D1=8C=20=D1=81=20const=20std::string&=20=D0=BD=D0=B0=20std::st?= =?UTF-8?q?ring=5Fview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/endpoints_handlers/RootExecutor.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/endpoints_handlers/RootExecutor.h b/src/endpoints_handlers/RootExecutor.h index 42f499a..0400d4f 100644 --- a/src/endpoints_handlers/RootExecutor.h +++ b/src/endpoints_handlers/RootExecutor.h @@ -52,6 +52,9 @@ class RootExecutor Body, Allocator, boost::beast::http::string_body>; using RoutePutDiaryExecutor = PutDiaryExecutor< Body, Allocator, boost::beast::http::string_body>; + using RouteDeleteDiaryExecutor = DeleteDiaryExecutor< + Body, Allocator, boost::beast::http::string_body>; + using IRouteController = IController; using RouteController = Controller; using RoutesPathes = std::unordered_map>; @@ -208,7 +211,7 @@ public: if (req.method() == boost::beast::http::verb::put) { - return send(PutDiaryExecutor( + return send(RoutePutDiaryExecutor( session_, auth_dao_, diaries_dao_ @@ -217,7 +220,7 @@ public: if (req.method() == boost::beast::http::verb::delete_) { - return send(DeleteDiaryExecutor( + return send(RouteDeleteDiaryExecutor( session_, auth_dao_, diaries_dao_