Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

LIstVotes shoud return emails

Matt Robertsa2f8d06d4826
diff --git a/app/handlers/apiv1/post.go b/app/handlers/apiv1/post.go
index a82f59538..3018e73e6 100644
--- a/app/handlers/apiv1/post.go
+++ b/app/handlers/apiv1/post.go
@@ -504,7 +504,7 @@ func ListVotes() web.HandlerFunc {
return c.Failure(err)
}
- listVotes := &query.ListPostVotes{PostID: getPost.Result.ID}
+ listVotes := &query.ListPostVotes{PostID: getPost.Result.ID, IncludeEmail: true}
if err := bus.Dispatch(c, listVotes); err != nil {
return c.Failure(err)
}