fixes hex encoding issue

This commit is contained in:
Mo Bitar
2017-03-09 20:07:28 -06:00
parent 23611c31ae
commit bc0e76c7da
4 changed files with 9 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ class ItemParams {
var params = {uuid: this.item.uuid, content_type: this.item.content_type, deleted: this.item.deleted, created_at: this.item.created_at};
if(this.keys) {
let encryptionVersion = "001";
let encryptionVersion = "002";
EncryptionHelper.encryptItem(itemCopy, this.keys, encryptionVersion);
params.content = itemCopy.content;
params.enc_item_key = itemCopy.enc_item_key;