provide SEA
This commit is contained in:
parent
07dc27e2b4
commit
b64b580d45
1 changed files with 11 additions and 7 deletions
|
|
@ -954,13 +954,17 @@ class Mediator {
|
|||
|
||||
await throwOnInvalidToken(token)
|
||||
|
||||
API.Events.onSeedBackup(seedBackup => {
|
||||
this.socket.emit(Event.ON_SEED_BACKUP, {
|
||||
ok: true,
|
||||
msg: seedBackup,
|
||||
origBody: body
|
||||
})
|
||||
}, user)
|
||||
API.Events.onSeedBackup(
|
||||
seedBackup => {
|
||||
this.socket.emit(Event.ON_SEED_BACKUP, {
|
||||
ok: true,
|
||||
msg: seedBackup,
|
||||
origBody: body
|
||||
})
|
||||
},
|
||||
user,
|
||||
mySEA
|
||||
)
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
this.socket.emit(Event.ON_SEED_BACKUP, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue