Refactoring mistakes fixed still some to authrecall

This commit is contained in:
mhelander 2018-01-29 21:03:25 +02:00
parent bc2e51ffd8
commit 7c85a8fa4a

3
sea.js
View File

@ -499,8 +499,7 @@
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))