From c5c6058fb213678a5e9aee8797ef9d3b68160161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Sat, 17 Jan 2026 22:02:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B7=D0=B0=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20=D1=80=D1=83=D1=87=D0=BA=D0=B8=20GetUserDiariesExecutor.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/endpoints_handlers/GetDiariesExecutor.h | 4 ++-- src/endpoints_handlers/GetUserTreatmentSchemeExecutor.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/endpoints_handlers/GetDiariesExecutor.h b/src/endpoints_handlers/GetDiariesExecutor.h index 36bf207..316be5d 100644 --- a/src/endpoints_handlers/GetDiariesExecutor.h +++ b/src/endpoints_handlers/GetDiariesExecutor.h @@ -63,8 +63,8 @@ public: throw session_exception(http::status::unauthorized, "Unauthorized"); } - std::string_view user_login_ref = auth_dao_->GetUUID(auth_token); - const std::string user_uuid{user_login_ref.begin(), user_login_ref.end()}; + std::string_view user_uuid_ref = auth_dao_->GetUUID(auth_token); + const std::string user_uuid{user_uuid_ref.begin(), user_uuid_ref.end()}; std::vector diaries = diaries_dao_->GetDiariesByUserUUID(user_uuid); diff --git a/src/endpoints_handlers/GetUserTreatmentSchemeExecutor.h b/src/endpoints_handlers/GetUserTreatmentSchemeExecutor.h index b100916..331c826 100644 --- a/src/endpoints_handlers/GetUserTreatmentSchemeExecutor.h +++ b/src/endpoints_handlers/GetUserTreatmentSchemeExecutor.h @@ -62,8 +62,8 @@ public: throw session_exception(http::status::unauthorized, "Unauthorized"); } - std::string_view user_login_ref = auth_dao_->GetUUID(auth_token); - const std::string user_uuid{user_login_ref.begin(), user_login_ref.end()}; + std::string_view user_uuid_ref = auth_dao_->GetUUID(auth_token); + const std::string user_uuid{user_uuid_ref.begin(), user_uuid_ref.end()}; std::vector schemes = user_treatment_scheme_dao_->FindByUserUUID(user_uuid);