Commit e45272d2d341c2353234005cbca529f2be6bcdab

Authored by Adhidarma Hadiwinoto
1 parent 2a4678f67a
Exists in master

Migrate to modemInfo

Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff

lib/http-command-server/router-info.js
... ... @@ -2,13 +2,14 @@
2 2  
3 3 const express = require('express');
4 4  
5   -const modem = require('../modem');
  5 +// const modem = require('../modem');
  6 +const modemInfo = require('../modem-info');
6 7  
7 8 const router = express.Router();
8 9 module.exports = router;
9 10  
10 11 function handlerMain(req, res) {
11   - res.json(modem.modemInfo);
  12 + res.json(modemInfo);
12 13 }
13 14  
14 15 router.get('/', handlerMain);