generated from Sithas/conan_template
Рабочая сборка второго executor'а
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "../DAO/IUserDAO.h"
|
||||
#include "AuthRegistrationExecutor.h"
|
||||
#include "RootExecutor.h"
|
||||
#include "../DAO/MemoryAuthDAO.h"
|
||||
#include "../DAO/MySQLUserDAO.h"
|
||||
|
||||
namespace uad
|
||||
@@ -17,7 +18,9 @@ void HandleRequest(
|
||||
Send&& send)
|
||||
{
|
||||
static RootExecutor<Body, Allocator, boost::beast::http::string_body, Send> root_executor(
|
||||
GetMySqlSession(), std::make_shared<MySQLUserDAO>(GetMySqlSession())
|
||||
GetMySqlSession(),
|
||||
std::make_shared<MySQLUserDAO>(GetMySqlSession()),
|
||||
std::make_shared<MemoryAuthDAO>(GetMySqlSession())
|
||||
);
|
||||
|
||||
root_executor(doc_root, std::move(req), std::forward<Send>(send));
|
||||
|
||||
Reference in New Issue
Block a user