База для ручки PostUserMedicationsExecutor.h

This commit is contained in:
2026-01-09 13:45:16 +03:00
parent a3e69b65fb
commit c79ec099e9
16 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ public:
throw session_exception(http::status::unprocessable_entity, "Login or password are empty"s);
}
const std::optional<user> maybe_user = user_dao_->GetByLogin(login);
const std::optional<user_dto> maybe_user = user_dao_->GetByLogin(login);
if (!maybe_user.has_value() || maybe_user.value().hashed_password != HashPassword(password))
{