testing
This commit is contained in:
parent
4fa0595d8a
commit
a840e53c35
File diff suppressed because one or more lines are too long
@ -8,6 +8,7 @@ module.exports = app => {
|
||||
var router = require("express").Router();
|
||||
|
||||
router.get("/demo", financials.demo);
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* definitions:
|
||||
|
||||
@ -63,7 +63,7 @@ REDIRECTION_APPLICATION_NAME = process.env.REDIRECTION_APPLICATION_NAME
|
||||
body: myJSONObject
|
||||
}, 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);
|
||||
} else { resolve(false); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user