File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -306,16 +306,6 @@ impl Cipher {
306306 type_data_json = Value :: Null ;
307307 }
308308
309- // Clone the type_data and add some default value.
310- let mut data_json = type_data_json. clone ( ) ;
311-
312- // NOTE: This was marked as *Backwards Compatibility Code*, but as of January 2021 this is still being used by upstream
313- // data_json should always contain the following keys with every atype
314- data_json[ "fields" ] = json ! ( fields_json) ;
315- data_json[ "name" ] = json ! ( self . name) ;
316- data_json[ "notes" ] = json ! ( self . notes) ;
317- data_json[ "passwordHistory" ] = Value :: Array ( password_history_json. clone ( ) ) ;
318-
319309 let collection_ids = if let Some ( cipher_sync_data) = cipher_sync_data {
320310 if let Some ( cipher_collections) = cipher_sync_data. cipher_collections . get ( & self . uuid ) {
321311 Cow :: from ( cipher_collections)
@@ -355,8 +345,6 @@ impl Cipher {
355345 "notes" : self . notes,
356346 "fields" : fields_json,
357347
358- "data" : data_json,
359-
360348 "passwordHistory" : password_history_json,
361349
362350 // All Cipher types are included by default as null, but only the matching one will be populated
You can’t perform that action at this time.
0 commit comments