stephb9959
2023-10-04 15:45:50 -07:00
parent e1af5adccb
commit 5bb9c1f427
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenWifi {
std::string Error;
uint64_t ErrorNum = 0;
R.UpdateEndpoints(Error, ErrorNum);
R.UpdateEndpoints(this, Error, ErrorNum);
Poco::JSON::Object Answer;
Answer.set("Error", Error);

View File

@@ -36,7 +36,7 @@ namespace OpenWifi {
O.set("servers", ServerArray);
}
inline bool UpdateEndpoints( [[maybe_unused]] std::string & Error,
inline bool UpdateEndpoints( RESTAPIHandler *Client, [[maybe_unused]] std::string & Error,
[[maybe_unused]] uint64_t &ErrorNum ) {
std::vector<ProvObjects::RADIUSEndPoint> Endpoints;
@@ -168,7 +168,7 @@ namespace OpenWifi {
DBGLINE
GWObjects::RadiusProxyPoolList NewPools;
DBGLINE
if(SDK::GW::RADIUS::SetConfiguration(nullptr,RadiusConfig,NewPools)) {
if(SDK::GW::RADIUS::SetConfiguration(Client,RadiusConfig,NewPools)) {
DBGLINE
AppServiceRegistry().Set("radiusEndpointLastUpdate", Utils::Now());
DBGLINE