1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-14 14:50:08 +00:00

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

@ -84,7 +84,7 @@ impl Cipher {
// To remove backwards compatibility, just remove this entire section
// and remove the compat code from ciphers::update_cipher_from_data
if self.type_ == 1 && data_json["Uris"].is_array() {
let uri = data_json["Uris"][0]["uri"].clone();
let uri = data_json["Uris"][0]["Uri"].clone();
data_json["Uri"] = uri;
}
// TODO: ******* Backwards compat end **********