Minor callback fix

This commit is contained in:
emad-salah 2021-04-18 21:17:01 +00:00
parent 9a95baf03c
commit 0bb25f97ea

View file

@ -124,7 +124,10 @@ const encryptedOn = socket => (eventName, callback) => {
})
callback(safeParseJSON(decryptedMessage), response)
return
}
callback(data, response)
})
} catch (err) {
logger.error(