Update flatpak runtime

This commit is contained in:
Guillaume Meunier
2025-02-17 13:46:41 +01:00
parent f0c2f01ffc
commit 23785eb02e
2 changed files with 11 additions and 7 deletions
+4 -4
View File
@@ -230,10 +230,10 @@ static void save_keys(const std::vector<headset_key> & keys)
for (const auto & key: keys)
{
json.push_back({
{"key", key.public_key},
{"name", key.name},
});
nlohmann::json key_json;
key_json["key"] = key.public_key;
key_json["name"] = key.name;
json.push_back(key_json);
}
std::string json_str = json.dump();