tulsawebdevs / services-voting

A microservice backend for tracking proposed meetup topics and civic projects and voting on them
1 stars 8 forks source link

/proposals returns incorrect user vote #55

Closed nguernse closed 5 months ago

nguernse commented 5 months ago

As discussed, the proposals service was setup before auth, so the .index() query is currently returning the user vote of the same proposal.

Expected Results

The proposals.index() should return the logged in user's vote. For example, if logged in as test_user@test.com, the proposals list should include the test user's vote for each proposal with a vote, else it will not be included.

Acceptance criteria