Commit 15d7af2f4ede2b5c101bc617ebc8bca75c3a35cb

Authored by Adhidarma Hadiwinoto
1 parent f1f98cf8d0
Exists in master

typo error -> err

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -47,7 +47,7 @@ function topupRequest(task, retry) {
47 47  
48 48 request.post({url: config.h2h_out.partner, form: params}, function(err, httpResponse, httpResponseBody) {
49 49  
50   - if (error) {
  50 + if (err) {
51 51 console.log('HTTP Request Error (' + task['requestId'] + '): ');
52 52 console.log(error);
53 53