provide SEA

This commit is contained in:
Daniel Lugo 2020-01-24 21:31:07 -04:00
parent 07dc27e2b4
commit b64b580d45

View file

@ -954,13 +954,17 @@ class Mediator {
await throwOnInvalidToken(token)
API.Events.onSeedBackup(seedBackup => {
API.Events.onSeedBackup(
seedBackup => {
this.socket.emit(Event.ON_SEED_BACKUP, {
ok: true,
msg: seedBackup,
origBody: body
})
}, user)
},
user,
mySEA
)
} catch (err) {
console.log(err)
this.socket.emit(Event.ON_SEED_BACKUP, {