mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls.git
synced 2026-01-27 10:22:52 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
std::string SimId;
|
||||
if (HasParameter("simulationId", SimId) && Op != "start") {
|
||||
if (HasParameter("runningId", SimId) && Op != "start") {
|
||||
return BadRequest(RESTAPI::Errors::MissingOrInvalidParameters);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace OpenWifi {
|
||||
|
||||
if (Error.empty()) {
|
||||
OWLSObjects::SimulationStatus S;
|
||||
SimStats()->GetCurrent(Id,S);
|
||||
SimStats()->GetCurrent(SimId,S);
|
||||
Poco::JSON::Object Answer;
|
||||
S.to_json(Answer);
|
||||
return ReturnObject(Answer);
|
||||
|
||||
Reference in New Issue
Block a user