f65c425786
no issue - when searching for paid/free members, the `members_stripe_customers` table would be joined into the query on `members` - this table also has a `name` and `email` field, so both MySQL and SQLite would complain about ambiguous fields in the query - the result of this would be a 500 error thrown inside Ghost, and no useful response to the user - this commit explicitly chooses the `members` table to check against, and also adds a test for this |
||
---|---|---|
.. | ||
base | ||
plugins | ||
relations | ||
action.js | ||
api-key.js | ||
author.js | ||
email.js | ||
index.js | ||
integration.js | ||
invite.js | ||
label.js | ||
member-stripe-customer.js | ||
member.js | ||
mobiledoc-revision.js | ||
permission.js | ||
post.js | ||
posts-meta.js | ||
role.js | ||
session.js | ||
settings.js | ||
stripe-customer-subscription.js | ||
tag-public.js | ||
tag.js | ||
user.js | ||
webhook.js |