mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Key requests have an object wrapper
This commit is contained in:
parent
7601ce93d9
commit
2bdc16b4bd
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const secretStorageKeys = {};
|
|||
|
||||
// XXX: This flow should maybe be reworked to allow retries in case of typos,
|
||||
// etc.
|
||||
export const getSecretStorageKey = async keyInfos => {
|
||||
export const getSecretStorageKey = async ({ keys: keyInfos }) => {
|
||||
const keyInfoEntries = Object.entries(keyInfos);
|
||||
if (keyInfoEntries.length > 1) {
|
||||
throw new Error("Multiple storage key requests not implemented");
|
||||
|
|
Loading…
Reference in a new issue