From 942d5f3da9cacc4fed5c5b027ad0e32a51ef0149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= Date: Thu, 28 Aug 2025 09:46:22 +0300 Subject: [PATCH] =?UTF-8?q?1-=D1=8F=20=D0=BD=D0=B5=D1=83=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20=D0=BF=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=BE=D1=81=D1=82=D0=B0=D1=82=D1=8C=20=D0=BB=D0=B0?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B5=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20Ses?= =?UTF-8?q?sion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DAO/MySQLUserDAO.cpp | 4 ++++ src/endpoints_handlers/AuthRegistrationExecutor.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/DAO/MySQLUserDAO.cpp b/src/DAO/MySQLUserDAO.cpp index 02ccf60..96e562e 100644 --- a/src/DAO/MySQLUserDAO.cpp +++ b/src/DAO/MySQLUserDAO.cpp @@ -21,6 +21,10 @@ optional MySQLUserDAO::GetByGUID(string guid) vector MySQLUserDAO::GetAll() { + auto const sql_query = session_.getSchemas(); + sql_query. + vector users {}; + return {}; } diff --git a/src/endpoints_handlers/AuthRegistrationExecutor.h b/src/endpoints_handlers/AuthRegistrationExecutor.h index e6bae2e..de2a731 100644 --- a/src/endpoints_handlers/AuthRegistrationExecutor.h +++ b/src/endpoints_handlers/AuthRegistrationExecutor.h @@ -25,6 +25,8 @@ public: boost::beast::http::request>&& req ) override { + auto metadata = user_dao_->GetAll(); + boost::beast::http::response res{ boost::beast::http::status::ok, req.version() };