Cleaned up some routes

This commit is contained in:
Wyatt Johnson
2017-02-21 15:24:44 -07:00
parent 17813e23a9
commit d7a6bf9e1f
6 changed files with 38 additions and 25 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ const router = express.Router();
router.get('/', (req, res, next) => {
SettingsService
.retrieve().then((settings) => {
.retrieve()
.then((settings) => {
res.json(settings);
})
.catch((err) => {