upd
This commit is contained in:
@ -684,8 +684,9 @@ exports.createHeaderPOSAP = ( req, res ) => {
|
|||||||
request(resuri, function (error, response) {
|
request(resuri, function (error, response) {
|
||||||
if (error) {
|
if (error) {
|
||||||
// console.log(error);
|
// console.log(error);
|
||||||
apireshandler.message = error.toString();
|
resdata.message = error.toString();
|
||||||
poadapter.sendResponse(400, apireshandler, res);
|
resdata.meta.message = "Header Created Successfuly"
|
||||||
|
poadapter.sendResponse(400, resdata, res);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user