mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 17:52:28 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
namespace OpenWifi {
|
||||
|
||||
void RESTAPI_radiusendpoint_list_handler::DoGet() {
|
||||
if(GetBoolParameter("lastUpdate")) {
|
||||
uint64_t LastUpdate=0;
|
||||
AppServiceRegistry().Get("radiusEndpointLastUpdate", LastUpdate);
|
||||
Poco::JSON::Object Answer;
|
||||
Answer.set("lastUpdate",LastUpdate);
|
||||
return ReturnObject(Answer);
|
||||
}
|
||||
|
||||
if(GetBoolParameter("currentStatus")) {
|
||||
ProvObjects::RADIUSEndpointUpdateStatus Status;
|
||||
@@ -26,6 +19,7 @@ namespace OpenWifi {
|
||||
if(QB_.CountOnly) {
|
||||
return ReturnCountOnly(DB_.Count());
|
||||
}
|
||||
|
||||
std::vector<RecordType> Records;
|
||||
DB_.GetRecords(QB_.Offset,QB_.Limit,Records);
|
||||
return ReturnObject(Records);
|
||||
|
||||
Reference in New Issue
Block a user