Fix secrets storage

This commit is contained in:
Sosthene 2024-11-28 12:39:46 +01:00
parent 78e868d1f6
commit 0b45ff3962
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ class Database {
},
AnkSharedSecrets: {
name: 'shared_secrets',
options: { keyPath: 'key' },
options: {},
indices: [],
},
AnkUnconfirmedSecrets: {

View File

@ -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,
});
}
}