Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Begin v3/route by copying v2 into a new v3 #308

Merged
merged 1 commit into from
Oct 11, 2020
Merged

Conversation

alanna-zhou
Copy link
Contributor

Overview

Some really redundant/jank things we want to get rid of from v2:

  • routeSummary
  • delays
  • routeID -- no longer using for analytics!
  • routeNumber -- since we delete routeID, we can change this to routeID

Changes Made

  • Copy v2 into a v3 route

Test Coverage

Works locally, and although it's a minor change I'll be deploying to the server

Next Steps

  • Might want to consider refactoring delays to return the delays for a specific stop

Related PRs or Issues

#307

Copy link
Contributor

@aliciaxw aliciaxw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

uid,
} = req.body;

const isArriveBy = (arriveBy === '1' || arriveBy === true || arriveBy === 'true' || arriveBy === 'True');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are there so many possible inputs for arriveBy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a good question :) it's because people send in all types of random stuff to us so this is a precaution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants