Skip to content

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

Open
MrNanosh wants to merge 13 commits into
masterfrom
hartfordViewerFinder
Open

Bug Fix: Fixes issues with API that finds viewers #292
MrNanosh wants to merge 13 commits into
masterfrom
hartfordViewerFinder

Conversation

@MrNanosh

Copy link
Copy Markdown
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