api-cccucuta
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -23,3 +23,3 @@ var Client = require('./lib') | ||
if(err) return console.log('hay error', err) | ||
cosole.log(result) | ||
console.log(result) | ||
}) | ||
@@ -26,0 +26,0 @@ |
@@ -33,3 +33,3 @@ var moment = require('moment') | ||
var msnError = response.split('error_descripcion>')[1].split('<')[0] | ||
console.log('CODIGO DE ERROR',codigoError) | ||
if(result.response) { | ||
@@ -49,3 +49,3 @@ if(result.statusCode != 200) return callback('StatusCode:'+ result.statusCode) | ||
data.total = total | ||
console.log(data) | ||
callback(null,data) | ||
@@ -92,5 +92,5 @@ } | ||
var msnError = response.split('error_descripcion>')[1].split('<')[0] | ||
console.log(result.response) | ||
if(result.response) { | ||
console.log(result.statusCode) | ||
if(result.statusCode != 200) return callback('StatusCode:'+ result.statusCode) | ||
@@ -100,3 +100,3 @@ if(codigoError > 0) return callback(msnError,null) | ||
data.transaccion = response.split('nro_transac_cli>')[1].split('<')[0] | ||
console.log(data) | ||
callback(null,data) | ||
@@ -125,3 +125,3 @@ } | ||
console.log(response) | ||
callback(null,data) | ||
@@ -128,0 +128,0 @@ } |
{ | ||
"name": "api-cccucuta", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32310
282