Ghost/ghost/members-api/lib/repositories
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
..
event.js Added aggregated click events (#15713) 2022-10-27 17:23:45 +02:00
member.js 🐛 Fixed comped member creation via Admin API (#15714) 2022-10-28 01:59:05 +05:30
product.js Added 'getDefaultProduct' convenience method to product repo 2022-10-20 17:19:52 +08:00