Commit e556ce560131d9aacaf08ad5c4934da429e1021f

Authored by Adhidarma Hadiwinoto
1 parent ff32317e9a
Exists in master

refactor nama variable

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

... ... @@ -86,9 +86,9 @@ function topupRequest(task, retry) {
86 86 }
87 87  
88 88 function createServer() {
89   - var httpServer = http.createServer(function(request, response) {
90   - console.log('Got request from partner: ' + request.url);
91   - response.end('OK');
  89 + var httpServer = http.createServer(function(req, res) {
  90 + console.log('Got request from partner: ' + req.url);
  91 + res.end('OK');
92 92 });
93 93  
94 94 httpServer.listen(config.h2h_out.listen_port, function() {