fix: health endpoint null ref

This commit is contained in:
Thomas Bishop 2025-10-18 16:23:12 +01:00 committed by forgejo-actions[bot]
parent 230bf67f6c
commit 0db90ca438
2 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,6 @@
{
"name": "eolas-api",
"version": "0.3.0",
"version": "0.3.1",
"description": "API for querying eolas-db, my Zettelkasten database",
"license": "ISC",
"author": "Thomas Bishop",

View file

@ -19,9 +19,5 @@ app.listen(port, () => {
})
app.get("/health", (req, res) => {
res.status(200).json({ status: ok })
})
app.get("/health", (req, res) => {
res.status(200).json({ status: ok })
res.status(200).json({ status: "ok" })
})