1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

set folder, fav, id on encrypting sites for save

This commit is contained in:
Kyle Spearrin 2016-09-10 23:17:01 -04:00
parent 1069b51266
commit 0a3a7427ba

View File

@ -5,7 +5,11 @@
var _service = {}; var _service = {};
_service.encryptSite = function (site) { _service.encryptSite = function (site) {
var model = {}; var model = {
id: site.id,
folderId: site.folderId,
favorite: site.favorite
};
return $q(function (resolve, reject) { return $q(function (resolve, reject) {
encrypt(site.name).then(function (cs) { encrypt(site.name).then(function (cs) {