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

Nt/beneficiary extraction #2914

Merged
merged 3 commits into from
Aug 27, 2024
Merged

Nt/beneficiary extraction #2914

merged 3 commits into from
Aug 27, 2024

Conversation

noumantahir
Copy link
Collaborator

What does this PR?

Based on my assessments, apparently it is not sorting that was causing the issue but having duplicate beneficiary possibly returned in videoMetadata as we do also inject one default beneficiary manually as well.
Screenshot 2024-08-27 at 17 20 06

Moreover my forced duplication test also produced expected error based on my assessment above. message only talks about sorting order and not pointing toward duplication, which is the issue with my test case.
Screenshot 2024-08-27 at 17 12 09

Updated makeOptions method to discard any duplicated beneficiary along with sorting them out.
Also, this PR handle the passing of already extracted beneficiaries to schedule post routing.

Issue number

https://discord.com/channels/@me/920267778190086205/1277127392997146665

Screenshots/Video

Successful publishing of same draft that was failing with existing code.
Screenshot 2024-08-27 at 17 13 42

@noumantahir noumantahir requested a review from feruzm August 27, 2024 12:24
Copy link
Member

@feruzm feruzm left a comment

Choose a reason for hiding this comment

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

lgtm

@feruzm feruzm merged commit b64c750 into development Aug 27, 2024
@feruzm feruzm deleted the nt/beneficiary-extraction branch August 27, 2024 12: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.

2 participants