Skip to content

Commit

Permalink
Do not convert bluesky params , just pass them as is
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Glowacki committed Dec 10, 2024
1 parent 1a99357 commit 37588fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mvc/BlueskyComm.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,20 @@ class BlueskyComm
}
args.append(inner_args);
}
else if(itr.second.kind == BlueskyParamType::String && itr.second.default_val.length() > 0)
//else if(itr.second.kind == BlueskyParamType::String && itr.second.default_val.length() > 0)
{
kwargs[itr.first] = itr.second.default_val;
}
/*
else if(itr.second.kind == BlueskyParamType::Numeral && itr.second.default_val.length() > 0)
{
kwargs[itr.first] = QJsonValue::fromVariant(itr.second.default_val.toDouble());
}
*/
}
item["kwargs"] = kwargs;
item["args"] = args;
//qDebug()<<item;
return item;
}

Expand Down

0 comments on commit 37588fc

Please sign in to comment.