Skip to content

Conversation

ylyangtw
Copy link
Contributor

@ylyangtw ylyangtw commented Jul 28, 2025

Please test title I endpoints locally. You should see totalRecipientCount instead of totalCounts.

http://localhost:5000/pdl/titles/title-i/subtitles/subtitle-a/summary
http://localhost:5000/pdl/titles/title-i/subtitles/subtitle-d/summary
http://localhost:5000/pdl/titles/title-i/subtitles/subtitle-e/state-distribution
http://localhost:5000/pdl/titles/title-i/subtitles/subtitle-e/summary

@ylyangtw ylyangtw linked an issue Jul 28, 2025 that may be closed by this pull request
Copy link
Contributor

@pengyin-shan pengyin-shan left a comment

Choose a reason for hiding this comment

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

Looks good and matchs the data-import PR. Approving it

@sandeep-ps
Copy link
Member

During review, I saw that in /pdl/titles/title-i/state-distribution, we are using totalRecipients. It will be good to replace that also to totalRecipientCount. Thanks.

@sandeep-ps
Copy link
Member

sandeep-ps commented Jul 28, 2025

During review, I saw that in /pdl/titles/title-i/state-distribution, we are using totalRecipients. It will be good to replace that also to totalRecipientCount for consistency. Thanks.

Just to clarify, this comment was only about changes to Title-1 endpoints.

Title-II endpoints uses the same attribute name, but we shouldn't change that now. Thanks.

@ylyangtw
Copy link
Contributor Author

/pdl/titles/title-i/state-distribution

Good catch. Thanks Sandeep! I have addressed it

Copy link
Member

@sandeep-ps sandeep-ps left a comment

Choose a reason for hiding this comment

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

The changes look good. Approving. Thanks.

@ylyangtw ylyangtw merged commit 739713f into develop Jul 30, 2025
1 check passed
@ylyangtw ylyangtw deleted the 334-task-rename-totalcounts-with-totalrecipientcount branch July 30, 2025 20:35
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.

[TASK] Rename totalCounts with totalRecipientCount
3 participants