summaryrefslogtreecommitdiff
path: root/server/routes/health.js
diff options
context:
space:
mode:
authorrohan09-raj <rajrohan1914@gmail.com>2022-12-01 22:27:41 +0530
committerrohan09-raj <rajrohan1914@gmail.com>2022-12-01 22:27:41 +0530
commit4244e00c1330b11b45f7cc33ffd55f9af59f6587 (patch)
tree4072c4abf6b8dd87df9bee404f9ba747d960aeb2 /server/routes/health.js
parentfc986722ec1d8e5a01d40a06ec8b7ab67bf18ec3 (diff)
minor fixes
Diffstat (limited to 'server/routes/health.js')
-rw-r--r--server/routes/health.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/routes/health.js b/server/routes/health.js
index 2980322..bd48e52 100644
--- a/server/routes/health.js
+++ b/server/routes/health.js
@@ -1,8 +1,8 @@
import Express from 'express';
-import {healthCheck} from '../controllers/health.js';
+import health from '../controllers/health.js';
const router = Express.Router();
-router.get('/health', healthCheck);
+router.get('/health', health.healthCheck);
export default router;