commit 0037f0819b362e5f27b46c0f140de3a0f596f0aa
parent da47846f2258b72ba92746f14868360469432c10
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Fri, 27 Apr 2018 16:35:21 +0200
Merge pull request #11 from mprasil/save_name
Save the name when updating the cipher data
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs
@@ -188,6 +188,7 @@ fn update_cipher_from_data(cipher: &mut Cipher, data: CipherData, headers: &Head
// Copy the type data and change the names to the correct case
copy_values(&type_data, &mut values);
+ cipher.name = data.name;
cipher.data = values.to_string();