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

Match status on startsWith rather than exact match #85

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

javamatte
Copy link
Member

We're seeing DHL shipments go onto the late shipments report, but they have what looks like a movement-worthy status.

From what I can tell, DHL updated their status to include more information, but we are checking a list of values for equality rather than startsWith.

I updated the status comparisons to use startsWith rather than equality to see if we can get these packages marked as shipped.

@javamatte
Copy link
Member Author

Hopefully fixes this issue: https://github.com/mediocre/mediocre.org/issues/3016

@javamatte javamatte merged commit a15f547 into main Jun 6, 2024
1 of 2 checks passed
@javamatte javamatte deleted the dhl-status-startswith branch June 6, 2024 17:34
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.

None yet

1 participant