mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
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 |
||
---|---|---|
.. | ||
authentication_spec.js | ||
db_spec.js | ||
identities_spec.js | ||
images_spec.js | ||
labels_spec.js | ||
members_signin_url_spec.js | ||
members_spec.js | ||
notifications_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
redirects_spec.js | ||
schedules_spec.js | ||
settings_spec.js | ||
slack_spec.js | ||
users_spec.js | ||
utils.js |