From 2b246fe1ee10827d8e237368a5e59aab2a99b0fa Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Fri, 5 Jan 2024 13:03:57 -0800 Subject: [PATCH] https://telecominfraproject.atlassian.net/browse/WIFI-13273 Signed-off-by: stephb9959 --- src/RESTAPI/RESTAPI_devices_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RESTAPI/RESTAPI_devices_handler.cpp b/src/RESTAPI/RESTAPI_devices_handler.cpp index 3372ea69..9cfc5870 100644 --- a/src/RESTAPI/RESTAPI_devices_handler.cpp +++ b/src/RESTAPI/RESTAPI_devices_handler.cpp @@ -131,7 +131,7 @@ namespace OpenWifi { } } else if (serialOnly) { std::vector SerialNumbers; - StorageService()->GetDeviceSerialNumbers(QB_.Offset, QB_.Limit, SerialNumbers, OrderBy); + StorageService()->GetDeviceSerialNumbers(QB_.Offset, QB_.Limit, SerialNumbers, OrderBy, platform); Poco::JSON::Array Objects; for (const auto &i : SerialNumbers) { Objects.add(i); @@ -149,7 +149,7 @@ namespace OpenWifi { RetObj.set("serialNumbers", Objects); } else { std::vector Devices; - StorageService()->GetDevices(QB_.Offset, QB_.Limit, Devices, OrderBy); + StorageService()->GetDevices(QB_.Offset, QB_.Limit, Devices, OrderBy, platform); Poco::JSON::Array Objects; for (const auto &i : Devices) { Poco::JSON::Object Obj;