Ghost/core/server/services/mega
Kevin Ansfield 7b789e1cd5 🐛 Fixed newsletters being sent to Stripe customer emails in place of member emails
no issue

- the paid-member SQL query that is obtained using `models.Member.getFilteredCollectionQuery({paid: true})` can return multiple columns with the same name (eg, `email`, `name`), when that happens the last column with duplicate names "wins" and it's value is used in the resulting knex row instance
- in the `mega` service when fetching email recipient rows we ran into this problem, to avoid it we adjust the query to explicitly select only the data from the `members` table
2020-10-02 12:17:17 +01:00
..
index.js Extracted post email serializer from mega service 2019-11-05 12:15:50 +07:00
mega.js 🐛 Fixed newsletters being sent to Stripe customer emails in place of member emails 2020-10-02 12:17:17 +01:00
post-email-serializer.js Refactor mega service to use stored email content and batch/recipient records 2020-09-29 17:17:54 +01:00
template.js 🐛 Fixed bookmark card display in member emails when using Gmail+Chrome 2020-08-24 18:21:09 +01:00