keymanager, syncmanager
This commit is contained in:
@@ -56,7 +56,7 @@ class Extension extends Item {
|
||||
this.content_type = "Extension";
|
||||
}
|
||||
|
||||
syncProviderAction() {
|
||||
get syncProviderAction() {
|
||||
return _.find(this.actions, {sync_provider: true})
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
class SyncProvider {
|
||||
constructor(obj) {
|
||||
this.encrypted = true;
|
||||
_.merge(this, obj);
|
||||
}
|
||||
|
||||
@@ -28,8 +29,9 @@ class SyncProvider {
|
||||
return {
|
||||
enabled: this.enabled,
|
||||
url: this.url,
|
||||
encrypted: this.encrypted,
|
||||
ek: this.ek
|
||||
primary: this.primary,
|
||||
keyName: this.keyName,
|
||||
syncToken: this.syncToken
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user