Fix wrong case in import struct, invite collections and user Uri back-compat

This commit is contained in:
Daniel García
2018-06-13 14:25:50 +02:00
parent f24e754ff7
commit 0905355629
3 changed files with 11 additions and 11 deletions

View File

@@ -206,9 +206,9 @@ struct ImportData {
#[allow(non_snake_case)]
struct RelationsData {
// Cipher id
key: usize,
Key: usize,
// Folder id
value: usize,
Value: usize,
}
@@ -228,7 +228,7 @@ fn post_ciphers_import(data: JsonUpcase<ImportData>, headers: Headers, conn: DbC
let mut relations_map = HashMap::new();
for relation in data.FolderRelationships {
relations_map.insert(relation.key, relation.value);
relations_map.insert(relation.Key, relation.Value);
}
// Read and create the ciphers