From 7544a54a3a67eb1342e6794e3b34306d791df1e6 Mon Sep 17 00:00:00 2001 From: Memo Chou Date: Sat, 6 Jul 2024 14:25:06 +0800 Subject: [PATCH] Update status endpoint --- api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.js b/api/index.js index 5d6f65fb..75da24b4 100644 --- a/api/index.js +++ b/api/index.js @@ -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) => {