Skip to content

Commit

Permalink
fixed merge conflict
Browse files Browse the repository at this point in the history
Former-commit-id: 868354b
  • Loading branch information
howardchung committed Jan 9, 2015
2 parents 2c54bbd + ca5025f commit b5f6935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,4 @@ app.use(function(req, res) {
if (process.env.NODE_ENV == "production") {
res.status(404).render('404.jade');
}
});
});
3 changes: 2 additions & 1 deletion backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ function apiRequest(job, cb) {
var payload = job.data.payload;
if (!job.data.url) {
logger.info(job);
cb("no url")
}
getData(job.data.url, function(err, data) {
if (data.response) {
Expand Down Expand Up @@ -374,4 +375,4 @@ function getData(url, cb) {
cb(null, JSON.parse(body))
}
})
}
}

0 comments on commit b5f6935

Please sign in to comment.