mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
Cleaned up some routes
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user