добавление настроек сети для TDMA-терминала

This commit is contained in:
2025-04-23 15:05:04 +03:00
parent be533d7521
commit 32983e97b3
3 changed files with 17 additions and 36 deletions

View File

@@ -297,7 +297,7 @@ public:
}
}));
s.resources.emplace_back(std::make_unique<http::auth::AuthRequiredResource>("/api/set/buclnb", this->auth, http::auth::User::SUPERUSER, [this](const auto& req, auto& rep) {
s.resources.emplace_back(std::make_unique<http::auth::AuthRequiredResource>("/api/set/buclnb", this->auth, http::auth::User::EDIT_SETTINGS, [this](const auto& req, auto& rep) {
if (req.method != "POST") {
http::server::stockReply(http::server::bad_request, rep);
return;