diff --git a/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp b/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp index a506af2..4742dce 100644 --- a/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp +++ b/src/RESTAPI/RESTAPI_board_timepoint_handler.cpp @@ -215,7 +215,7 @@ namespace OpenWifi { AnalyticsObjects::DeviceTimePointAnalysis DTPA; std::cout << __LINE__ << std::endl; - if(sp.empty()) + if(point_list.empty()) continue; DTPA.timestamp = point_list[0].timestamp;