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

Bug Fix: Fixes issues with API that finds viewers #292

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

MrNanosh
Copy link
Collaborator

The branch was started to create an interface where organizations like Harford's Voters coalition could insert an iframe with viewers relevant to local elections. The interface was put in the Backlog but this branch contains fixes to the original API that allows the retrieval of viewers by address.

The bug: submitting the address would find viewers but the function responsible for searching the database was not returning them despite the object returning non-empty. The problem was that a shallow copy was being made where a deep copy was needed to get the data containing URLs to viewers.

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