Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-13200
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Dec 14, 2023
1 parent 5094157 commit f5676b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sdks/SDK_fms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ namespace OpenWifi::SDK::FMS {

bool GetDeviceTypeFirmwares(const std::string &device_type,
std::vector<FMSObjects::Firmware> &FirmWares) {
static const std::string EndPoint{"/api/v1/firmwares?offset=1&limit=1000"};
static const std::string EndPoint{"/api/v1/firmwares"};

OpenWifi::OpenAPIRequestGet API(uSERVICE_FIRMWARE, EndPoint,
{{"deviceType", device_type}}, 50000);
{{"deviceType", device_type},
{"offset","1"},
{"limit","1000"}}, 50000);

auto CallResponse = Poco::makeShared<Poco::JSON::Object>();
auto StatusCode = API.Do(CallResponse);
Expand Down

0 comments on commit f5676b0

Please sign in to comment.