Commit d327b0abbaef96868c58a0a995fc4df0915f5e3d

Authored by adi surya
1 parent debf4ecb46
Exists in master

fix error

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

lib/http-server/index.js
... ... @@ -11,7 +11,6 @@ const checkApikey = require('./middlewares/check-apikey');
11 11 const routerMatrix = require('./routers/matrix');
12 12 const routerUpdates = require('./routers/updates');
13 13 const routerProducts = require('./routers/products');
14   -const routerPostpaidProducts = require('./routers/postpaid-products');
15 14  
16 15 const app = express();
17 16  
... ... @@ -25,7 +24,6 @@ app.use((req, res, next) => {
25 24 app.use('/matrix', routerMatrix);
26 25 app.use('/apikey/:apikey/updates', [checkApikey], routerUpdates);
27 26 app.use('/apikey/:apikey/products', [checkApikey], routerProducts);
28   -app.use('/apikey/:apikey/postpaid/products', [checkApikey], routerPostpaidProducts);
29 27  
30 28 app.use((req, res) => {
31 29 res.status(404).json({