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

remove invoicing api call from holiday stop processor #2504

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

johnduffell
Copy link
Member

@johnduffell johnduffell commented Oct 15, 2024

We get a lot of errors from the holiday stop API, because it makes calls to the invoicing API.

The reason it makes the calls is that there was a migration in progress to make it more accurately determine the invoice date - the original (unfinished) work to switch over was in #751
The issue still needs fixing but we have decided on a different route - see #2243 for the WIP on that.

The reason this is affecting us now is that the API key needed was rotated/deleted at some point thus breaking the link and causing errors in the logs. This is misleading and makes it hard to investigate.

The long term solution is to finish the above PR, but for now this PR just deletes the unused call to invoicing api.

Tested in CODE, all unit tests pass.

Copy link
Contributor

@graham228221 graham228221 left a comment

Choose a reason for hiding this comment

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

🙌 nice one

@johnduffell johnduffell merged commit a2db6a2 into main Oct 16, 2024
46 checks passed
@johnduffell johnduffell deleted the jd-remove-holiday-invoicing-api branch October 16, 2024 09:51
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