Ручка PostUserTreatmentScheme.h

This commit is contained in:
2026-01-18 11:47:37 +03:00
parent c5c6058fb2
commit 05a135afc6
8 changed files with 209 additions and 18 deletions
@@ -41,9 +41,9 @@ public:
constexpr std::string_view auth_prefix = "Bearer "sv;
static const std::string invalid_token_message =
"GET /api/v1/User/Medications - Response 401: Unauthorized"s;
"GET /api/v1/UserTreatmentSchemes - Response 401: Unauthorized"s;
BOOST_LOG_TRIVIAL(info) << "GET /api/v1/User/Medications - Request";
BOOST_LOG_TRIVIAL(info) << "GET /api/v1/UserTreatmentSchemes - Request";
if (req[http::field::authorization].size() <= auth_prefix.size())
{