Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Request qualification data at the current date, not the future qualification date #653

Merged
merged 8 commits into from
Oct 1, 2024

Conversation

dunkOnIT
Copy link
Collaborator

The monolith qualification_data endpoint takes an optional date parameter, for specifying the date on which the qualification data should be computed for the user. wca-registration submits a request to this endpoint using the whenDate of the qualification. However, if the whenDate for the qualification is in the future, the monolith rejects this request, because we cannot compute qualifications for future dates.

This PR makes wca-registration request qualifications at the earlier of the qualification date or today's date.

@dunkOnIT dunkOnIT merged commit 8b3f5d9 into thewca:main Oct 1, 2024
1 check passed
@dunkOnIT dunkOnIT deleted the fix/future-qualifications branch October 1, 2024 16:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants