No longer send this data to client
This commit is contained in:
parent
d4dd47a334
commit
808959b845
1 changed files with 2 additions and 2 deletions
|
|
@ -472,11 +472,11 @@ module.exports = async (
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const authorizedDevice = await ECC.authorizeDevice({
|
await ECC.authorizeDevice({
|
||||||
deviceId,
|
deviceId,
|
||||||
publicKey
|
publicKey
|
||||||
})
|
})
|
||||||
return res.json(authorizedDevice)
|
res.sendStatus(200)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(err)
|
logger.error(err)
|
||||||
return res.status(401).json({
|
return res.status(401).json({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue