mirror of
https://github.com/amark/gun.git
synced 2025-06-07 14:46:44 +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
|
let err
|
||||||
// Yes, then attempt to log into each one until we find ours!
|
// 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)
|
// (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 }) => {
|
.map(async ({ at, pub }) => {
|
||||||
const readStorageData = async () => {
|
const readStorageData = async () => {
|
||||||
const props = parseProps(await seaRead(remember, pub, true))
|
const props = parseProps(await seaRead(remember, pub, true))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user