fix validation bug in admin
This commit is contained in:
parent
9c0d21f66d
commit
1488a60a60
4 changed files with 29 additions and 16 deletions
|
|
@ -130,6 +130,7 @@ app.post('/api/machines', (req, res) => {
|
|||
})
|
||||
|
||||
app.get('/api/status', (req, res, next) => {
|
||||
console.log('DEBUG100')
|
||||
return Promise.all([server.status(), config.validateCurrentConfig()])
|
||||
.then(([serverStatus, invalidConfigGroups]) => res.send({
|
||||
server: serverStatus,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue