mdclog_write(MDCLOG_ERR, "Error : %s, %d:: Could not extract policy type id from %s\n", __FILE__, __LINE__, message);
return false;
}
- helper.policy_type_id = ref2->GetString();
+ //helper.policy_type_id = ref2->GetString();
+ helper.policy_type_id = to_string(ref2->GetInt());
- // Extract policy instance id
+ // Extract policy instance id
rapidjson::Pointer temp("/policy_instance_id");
rapidjson::Value * ref = temp.Get(doc);
if (ref == NULL){