Ghost/ghost/members-api/test
Rishabh Garg 007637973e
🐛 Fixed comped member creation via Admin API (#15714)
closes https://github.com/TryGhost/Team/issues/2184

- when using the old legacy method of `comped:true` to add complimentary subs to a member along with a label, the API call failed with `Internal Server error` and the member was added as free on the site.
- patches the options sent for fetching default product to only pick the relevant keys, as it was picking up the `withRelated` for `labels` that caused the API failure
2022-10-28 01:59:05 +05:30
..
unit/lib 🐛 Fixed comped member creation via Admin API (#15714) 2022-10-28 01:59:05 +05:30
utils Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00