Skip to content

Commit

Permalink
Merge pull request #400 from conveyal/graphql-implementation
Browse files Browse the repository at this point in the history
Fix bug in R5/OTP config processing
  • Loading branch information
trevorgerhardt authored Mar 17, 2017
2 parents 05b42e6 + 187c2cf commit 3b1f423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plan/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ app.get('/', function (req, res) {
if (foundOtpConfig && !foundR5Config) { // Only OTP server is present in config
queryOtp = true
queryR5 = false
} else if (foundOtpConfig && !foundR5Config) { // Only R5 server is present in config
} else if (!foundOtpConfig && foundR5Config) { // Only R5 server is present in config
queryOtp = false
queryR5 = true
} else { // defer to query params
Expand Down

0 comments on commit 3b1f423

Please sign in to comment.