removed extra copde
This commit is contained in:
@@ -331,44 +331,6 @@ var cards = {
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
res.status(500).json({error: `Internal Server error 002 ${error} `});
|
res.status(500).json({error: `Internal Server error 002 ${error} `});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
logger.info(req.body);
|
|
||||||
var data = {
|
|
||||||
"request_uid": req.body.request_uid,
|
|
||||||
"request_id": req.body.request_id,
|
|
||||||
"aggrement_ip": req.body.aggrement_ip,
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const card = await stripe.issuing.cards.update(
|
|
||||||
'ic_1Cm3paIyNTgGDVfzBqq1uqxR',
|
|
||||||
{
|
|
||||||
status: 'active',
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
let resultItem ={
|
|
||||||
"result": [],
|
|
||||||
"total_record": 5
|
|
||||||
}
|
|
||||||
next(null, resultItem ); // pass control to the next handler
|
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
module.exports = cards;
|
module.exports = cards;
|
||||||
|
|||||||
Reference in New Issue
Block a user