Empty backers list in issue/bounty page due to bounty_refunded failing query
Cross-origin errors caused by failing API calls due to some routing errors and a querying error.
Changes made
Change made in #1454 broke the bounty not_refunded query. Affecting the backer's list in the issue/bounty page, switched to OR.
Removed .pluck method call as the switch to find_by in #1442 returns the model instance (instead of a collection like previously) which does not have the method. Refer to person_id field directly.
Disabled 'autotrack' to stop Mixpanel client lib from calling decide API route.
Changed 'track' API route for Mixpanel to accept appropriate POST method instead of GET which doesn't accept the send form data.
Resolves #1465
Description
Fixed a couple of errors:
bounty_refunded
failing queryChanges made
OR
..pluck
method call as the switch tofind_by
in #1442 returns the model instance (instead of a collection like previously) which does not have the method. Refer toperson_id
field directly.decide
API route.