This commit is contained in:
sriramv 2022-03-09 08:40:50 +05:30
parent 4fa0595d8a
commit a840e53c35
3 changed files with 64 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,6 +8,7 @@ module.exports = app => {
var router = require("express").Router(); var router = require("express").Router();
router.get("/demo", financials.demo); router.get("/demo", financials.demo);
/** /**
* @swagger * @swagger
* definitions: * definitions:

View File

@ -63,7 +63,7 @@ REDIRECTION_APPLICATION_NAME = process.env.REDIRECTION_APPLICATION_NAME
body: myJSONObject body: myJSONObject
}, function (error, response, body){ }, function (error, response, body){
if(response.statusCode == 200 && body.status == "Success" && body.data.length != 0) if(body.status == "Success" && body.data.length != 0)
{ {
resolve(body.data); resolve(body.data);
} else { resolve(false); } } else { resolve(false); }