timeDelay:GWM
This commit is contained in:
parent
897e0d9b1b
commit
ec3e8ecc5c
@ -63,10 +63,8 @@ exports.MenuList = async (req, res) => {
|
|||||||
const losid = req.query.losid;
|
const losid = req.query.losid;
|
||||||
|
|
||||||
var EntityInsert = new Promise((resolve, reject) => {
|
var EntityInsert = new Promise((resolve, reject) => {
|
||||||
if(req.query.redirection_api_call == 0)
|
if(req.query.redirection_api_call == 1)
|
||||||
{
|
{
|
||||||
resolve();
|
|
||||||
}
|
|
||||||
//Redirection api call with losid
|
//Redirection api call with losid
|
||||||
redirectionApi = ApiCallHelper.redirectionApiCall(losid);
|
redirectionApi = ApiCallHelper.redirectionApiCall(losid);
|
||||||
redirectionApi.then(function(redirectionApiData){
|
redirectionApi.then(function(redirectionApiData){
|
||||||
@ -180,7 +178,8 @@ exports.MenuList = async (req, res) => {
|
|||||||
|
|
||||||
}); // end of Redirection api data foreach
|
}); // end of Redirection api data foreach
|
||||||
} // end of redirectionApiData else condition
|
} // end of redirectionApiData else condition
|
||||||
}) // end of Redirection api call
|
}) // end of Redirection api call
|
||||||
|
} else { resolve(); }
|
||||||
}); // end of promise
|
}); // end of promise
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user