Fix secrets storage
This commit is contained in:
parent
78e868d1f6
commit
0b45ff3962
@ -19,7 +19,7 @@ class Database {
|
||||
},
|
||||
AnkSharedSecrets: {
|
||||
name: 'shared_secrets',
|
||||
options: { keyPath: 'key' },
|
||||
options: {},
|
||||
indices: [],
|
||||
},
|
||||
AnkUnconfirmedSecrets: {
|
||||
|
@ -298,8 +298,8 @@ export default class Services {
|
||||
for (const entry of entries) {
|
||||
db.addObject({
|
||||
storeName: 'shared_secrets',
|
||||
object: entry,
|
||||
key: null,
|
||||
object: entry.value,
|
||||
key: entry.key,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user