framework update

This commit is contained in:
stephb9959
2022-03-24 13:58:29 -07:00
parent 7a20fc0423
commit 8f2bcc4622

View File

@@ -367,7 +367,7 @@ namespace OpenWifi::RESTAPI_utils {
inline void field_from_json(const Poco::JSON::Object::Ptr &Obj, const char *Field, uint64_t &Value) {
std::cout << Field << std::endl;
if(Obj->has(Field))
Value = Obj->get(Field).extract<uint64_t>();
Value = Obj->get(Field); // .extract<uint64_t>();
}
inline void field_from_json(const Poco::JSON::Object::Ptr &Obj, const char *Field, Types::StringPairVec &Vec) {