Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #1083 passed
......@@ -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>();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment