Ghost/ghost/members-api
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
..
lib 🐛 Fixed comped member creation via Admin API (#15714) 2022-10-28 01:59:05 +05:30
test 🐛 Fixed comped member creation via Admin API (#15714) 2022-10-28 01:59:05 +05:30
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Fixed index.js require 2021-07-15 18:06:45 +01:00
package.json Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00