From 8554481186a408a72eed47d733b9014cab19e106 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Mon, 8 Jan 2024 10:58:32 -0800 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-13273 Signed-off-by: stephb9959 --- .gitignore | 1 + src/RESTAPI/RESTAPI_devices_handler.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f1e1d9ba5..f361a166e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ test_scripts/curl/result.json *.swp helm/charts/* !helm/charts/.gitkeep +/portal-test/ diff --git a/src/RESTAPI/RESTAPI_devices_handler.cpp b/src/RESTAPI/RESTAPI_devices_handler.cpp index 9cfc5870f..bb880fbc4 100644 --- a/src/RESTAPI/RESTAPI_devices_handler.cpp +++ b/src/RESTAPI/RESTAPI_devices_handler.cpp @@ -98,7 +98,7 @@ namespace OpenWifi { if (!QB_.Select.empty()) { Poco::JSON::Array Objects; for (auto &i : SelectedRecords()) { - auto SerialNumber = i; + auto &SerialNumber = i; if (!Utils::ValidSerialNumber(i)) continue; GWObjects::Device D;