fix: health endpoint null ref
All checks were successful
Deploy eolas-api / deploy (push) Successful in 47s
All checks were successful
Deploy eolas-api / deploy (push) Successful in 47s
This commit is contained in:
parent
230bf67f6c
commit
31105abd95
1 changed files with 3 additions and 7 deletions
|
|
@ -19,9 +19,5 @@ app.listen(port, () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
app.get("/health", (req, res) => {
|
app.get("/health", (req, res) => {
|
||||||
res.status(200).json({ status: ok })
|
res.status(200).json({ status: "ok" })
|
||||||
})
|
|
||||||
|
|
||||||
app.get("/health", (req, res) => {
|
|
||||||
res.status(200).json({ status: ok })
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue