mirror of
https://github.com/amark/gun.git
synced 2025-06-05 21:56:51 +00:00
Refactoring mistake fixed from object decomposition in authrecall
This commit is contained in:
parent
7c85a8fa4a
commit
e5b8cc928f
3
sea.js
3
sea.js
@ -499,7 +499,8 @@
|
||||
let err
|
||||
// Yes, then attempt to log into each one until we find ours!
|
||||
// (if two users have the same username AND the same password... that would be bad)
|
||||
const [ { key, at, proof } ] = await Promise.all(aliases.filter(({ at: { put } = {} }) => !!put)
|
||||
const [ { key, at, proof } = {} ] = await Promise
|
||||
.all(aliases.filter(({ at: { put } = {} }) => !!put)
|
||||
.map(async ({ at, pub }) => {
|
||||
const readStorageData = async () => {
|
||||
const props = parseProps(await seaRead(remember, pub, true))
|
||||
|
Loading…
x
Reference in New Issue
Block a user