generated from Sithas/conan_template
Ручка PostUserTreatmentScheme.h
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user