refactor: use matching names
This commit is contained in:
parent
e10493abc6
commit
d689927b01
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ function getLastSeen(req, res, next) {
|
|||
function updateLogs(req, res, next) {
|
||||
return logs
|
||||
.update(req.deviceId, req.body.logs)
|
||||
.then(status => res.json({ success: status }))
|
||||
.then(success => res.json({ success }))
|
||||
.catch(next)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue