Skip to content

Commit a2f8d06

Browse files
committed
LIstVotes shoud return emails
1 parent b8fb502 commit a2f8d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/handlers/apiv1/post.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ func ListVotes() web.HandlerFunc {
504504
return c.Failure(err)
505505
}
506506

507-
listVotes := &query.ListPostVotes{PostID: getPost.Result.ID}
507+
listVotes := &query.ListPostVotes{PostID: getPost.Result.ID, IncludeEmail: true}
508508
if err := bus.Dispatch(c, listVotes); err != nil {
509509
return c.Failure(err)
510510
}

0 commit comments

Comments
 (0)