Skip to content

Commit

Permalink
fix(parser): Fix github header case
Browse files Browse the repository at this point in the history
  • Loading branch information
olls committed Feb 10, 2016
1 parent 1d2c306 commit 67495cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var Build = function (req, res, payload, build_manager, id) {
// Load and check payload
if (req.headers['travis-repo-slug']) {
self.parser = new parser.Travis(payload, req.headers, self.build_manager.config);
} else if (req.headers['X-GitHub-Delivery']) {
} else if (req.headers['x-github-delivery']) {
self.parser = new parser.GitHub(payload, req.headers, self.build_manager.config);
} else {
self.parser = new parser.GitLab(payload, req.headers, self.build_manager.config);
Expand Down

0 comments on commit 67495cc

Please sign in to comment.