merging:gwm
This commit is contained in:
parent
f2eda0ed7a
commit
8b888ef60a
@ -1,8 +1,6 @@
|
||||
//const db = require("../models");
|
||||
//const Entities = db.tutorials;
|
||||
const { Op } = require("sequelize");
|
||||
|
||||
const { sequelize, Entities , Financials , Statementsmaster ,Sectionsmaster , Subsectionsmaster , Brokenperiods } = require('../models')
|
||||
|
||||
const { sequelize, Entities , Financials , Statementsmaster , Sectionsmaster , Subsectionsmaster , Brokenperiods } = require('../models')
|
||||
const { logMsg } = require('../services/logger.js');
|
||||
|
||||
|
||||
@ -27,7 +25,7 @@ exports.MenuList = async (req, res) => {
|
||||
}],
|
||||
required :false
|
||||
}],
|
||||
required :false
|
||||
required :false
|
||||
|
||||
});
|
||||
|
||||
|
||||
@ -215,7 +215,7 @@ module.exports = app => {
|
||||
// third party api call example
|
||||
router.get('/third_party_api', (req, res) => {
|
||||
const options = {
|
||||
url: "http://localhost:3000/api/EntitiesList",
|
||||
url: "http://localhost:4000/api/MenuList/MW112233",
|
||||
};
|
||||
request.get(options).pipe(res);
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user