Minor callback fix
This commit is contained in:
parent
9a95baf03c
commit
0bb25f97ea
1 changed files with 3 additions and 0 deletions
|
|
@ -124,7 +124,10 @@ const encryptedOn = socket => (eventName, callback) => {
|
|||
})
|
||||
|
||||
callback(safeParseJSON(decryptedMessage), response)
|
||||
return
|
||||
}
|
||||
|
||||
callback(data, response)
|
||||
})
|
||||
} catch (err) {
|
||||
logger.error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue