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:
parent
1069b51266
commit
0a3a7427ba
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user