fix
This commit is contained in:
@@ -478,7 +478,11 @@ template <> struct adl_serializer<repertory::encrypt_config> {
|
||||
data.at(repertory::JSON_ENCRYPTION_TOKEN).get_to(value.encryption_token);
|
||||
data.at(repertory::JSON_PATH).get_to(value.path);
|
||||
|
||||
auto kdf_str = data[repertory::JSON_KDF_CONFIG].get<std::string>();
|
||||
if (not data.contains(repertory::JSON_KDF_CONFIG)) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto kdf_str = data.at(repertory::JSON_KDF_CONFIG).get<std::string>();
|
||||
if (kdf_str.empty()) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user