Verified Commit 5d2f055e authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Work around conduit returning null for well_known in login

parent 377207c1
Pipeline #1083 passed with stages
in 15 minutes and 19 seconds
......@@ -16,7 +16,7 @@ from_json(const nlohmann::json &obj, Login &response)
if (obj.count("device_id") != 0)
response.device_id = obj.at("device_id").get<std::string>();
if (obj.count("well_known") != 0)
if (obj.count("well_known") != 0 && obj.at("well_known").is_object())
response.well_known = obj.at("well_known").get<WellKnown>();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment