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) await throwOnInvalidToken(token)
API.Events.onSeedBackup(seedBackup => { API.Events.onSeedBackup(
this.socket.emit(Event.ON_SEED_BACKUP, { seedBackup => {
ok: true, this.socket.emit(Event.ON_SEED_BACKUP, {
msg: seedBackup, ok: true,
origBody: body msg: seedBackup,
}) origBody: body
}, user) })
},
user,
mySEA
)
} catch (err) { } catch (err) {
console.log(err) console.log(err)
this.socket.emit(Event.ON_SEED_BACKUP, { this.socket.emit(Event.ON_SEED_BACKUP, {