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

Chant Detail: fix bug where we would send a request to a cantusindex.org/json-con/cantus_id/refresh #1053

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

jacobdgm
Copy link
Contributor

@jacobdgm jacobdgm commented Sep 19, 2023

fixes #1052

When starting the thread to ping cantusindex.org/json-con/{some cantus id}/refresh, we were passing in a dictionary. Python was calling _refresh_ci_json_con_api using the key, "cantus_id", as an argument, rather than using the value. I'm confident this was working several months ago when first implemented, so I don't know what changed to create this bug. In any case, since _refresh_ci_json_con_api takes only a single argument, we can start the thread by passing in a list of arguments rather than a dictionary.

Once this change ends up on production, I need to remember to send Jan an email saying this is fixed.

@jacobdgm jacobdgm mentioned this pull request Sep 19, 2023
@jacobdgm jacobdgm merged commit d450e1e into DDMAL:develop Sep 19, 2023
@jacobdgm jacobdgm deleted the issue-1052 branch September 19, 2023 19:57
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.

CDB is sending useless requests to Cantus Index
3 participants