chore: server code formatting
This commit is contained in:
parent
aedabcbdee
commit
68517170e2
234 changed files with 9824 additions and 6195 deletions
|
|
@ -3,7 +3,7 @@ const router = express.Router()
|
|||
|
||||
const { updateDiagnostics } = require('../machine-loader')
|
||||
|
||||
function diagnostics (req, res, next) {
|
||||
function diagnostics(req, res, next) {
|
||||
return updateDiagnostics(req.deviceId, req.body)
|
||||
.then(() => res.status(200).send({ status: 'OK' }))
|
||||
.catch(next)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue