Skip to content

Commit

Permalink
Update status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
memochou1993 committed Jul 6, 2024
1 parent cc486f1 commit 7544a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.get('/', async (req, res) => {
}
const currentVersion = getVersion();
const latestVersion = await fetchVersion();
res.status(200).send({ currentVersion, latestVersion });
res.status(200).send({ status: 'OK', currentVersion, latestVersion });
});

app.post(config.APP_WEBHOOK_PATH, validateLineSignature, async (req, res) => {
Expand Down

0 comments on commit 7544a54

Please sign in to comment.