Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-braintree-native: fix
disputes
bug
The `disputes` stream is slightly different from the other incremental streams. One of these differences is that Braintree doesn't allow us to search disputes based on the `created_at` field. Instead, we use `receive_date` as a proxy for `created_at`. This means we recieve results for entire days and have to filter out results we've already seen. I fixed a few bugs with the `disputes` stream: - The start date does not need pushed back a day. I initially thought `DisputeSearch.recevied_date.between(start, end)` was exclusive of the `start` date, but that was incorrect. - `most_recent_created_at` is now updated whenever there's a `created_at` value more recent that `most_recent_created_at`.
- Loading branch information