Skip to content

Conversation

@landonreed
Copy link
Member

Updates API calls to otp-middleware to bring MOD UI in line with ibi-group/otp-middleware#72.

@evansiroky evansiroky removed their assignment Oct 1, 2020
Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Approving, and blocking pending merging of ibi-group/otp-middleware#72.

const { data: trips, status: fetchStatus } = await getTrips(otpMiddleware, accessToken)
if (fetchStatus === 'success') {
dispatch(setCurrentUserMonitoredTrips(trips))
dispatch(setCurrentUserMonitoredTrips(trips.data))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe rename trips to tripList or something?

@binh-dam-ibigroup binh-dam-ibigroup added the BLOCKED Blocked (waiting on another PR to be merged) label Oct 1, 2020
@landonreed landonreed removed the BLOCKED Blocked (waiting on another PR to be merged) label Oct 12, 2020
@landonreed
Copy link
Member Author

Merging, now that ibi-group/otp-middleware#72 is merged.

@landonreed landonreed merged commit 342de8c into dev Oct 12, 2020
@landonreed landonreed deleted the pagination-update branch October 12, 2020 15:01
This was referenced Oct 19, 2020
@landonreed
Copy link
Member Author

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants