summaryrefslogtreecommitdiff
path: root/server/controllers
diff options
context:
space:
mode:
authorrohan09-raj <[email protected]>2022-12-01 22:27:41 +0530
committerrohan09-raj <[email protected]>2022-12-01 22:27:41 +0530
commit4244e00c1330b11b45f7cc33ffd55f9af59f6587 (patch)
tree4072c4abf6b8dd87df9bee404f9ba747d960aeb2 /server/controllers
parentfc986722ec1d8e5a01d40a06ec8b7ab67bf18ec3 (diff)
minor fixes
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/health.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/controllers/health.js b/server/controllers/health.js
index 8c443bf..d0ebc4d 100644
--- a/server/controllers/health.js
+++ b/server/controllers/health.js
@@ -1,5 +1,7 @@
-export const healthCheck = async (req, res) => {
+const healthCheck = async (req, res) => {
return res.json({
uptime: process.uptime(),
});
};
+
+export default {healthCheck};