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

fix bug in upload stats by using camelCase field names #579

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

maxrichie5
Copy link
Contributor

@maxrichie5 maxrichie5 commented Jan 31, 2025

Background

Awhile back I added a new deleted field to the upload stats that caused things to break. To fix it, this PR was made that made it so the deleted field would not be fetched in PAT. But in that same PR, the fields with two words got changed from camelCase to snake_case. As a result, those fields were not being included in upload stats.

This PR reverts that change back to camelCase so that the fields will be printed again.

Struct those field names come from. (link to internal repo)

Changes

Testing

  • Async bulk upload of this code against my dev instance worked.

@maxrichie5 maxrichie5 marked this pull request as ready for review January 31, 2025 22:56
@maxrichie5 maxrichie5 merged commit 1f90a3b into main Feb 3, 2025
3 checks passed
@maxrichie5 maxrichie5 deleted the mcr/fix-upload-stats branch February 3, 2025 16:43
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