aboutsummaryrefslogtreecommitdiffstats
path: root/routes/api/members.js
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2019-04-17 22:33:27 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2019-04-17 22:33:27 -0500
commitb640adcdcdbb03dedfff9909412eb3383cfebc85 (patch)
tree88eb85675154461f4853978f9b70432c9a9b77df /routes/api/members.js
parentb90d55622f8ad987a1d6d900f5f5837168ed7d92 (diff)
Export router and use members in members api.
Diffstat (limited to 'routes/api/members.js')
-rw-r--r--routes/api/members.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/api/members.js b/routes/api/members.js
index d1c3bf9..9787839 100644
--- a/routes/api/members.js
+++ b/routes/api/members.js
@@ -1,6 +1,6 @@
const express = require('express');
const router = express.Router();
-
+const members = require('./Members.js');
// Gets all members
router.get('/api/members', (req, res) => res.json(members));
@@ -18,4 +18,4 @@ router.get('/api/members/:id', (req, res) => {
}
});
-
+modules.exports = router;