Ghost/ghost
Simon Backx aaff165a21 Fixed 'labels is not defined on the model' error (#378)
no issue

- When a new member is added via the API, with a stripe_customer_id, the member bread service is passed also with a default option: `withRelated: ['labels']`.
- This option is passed along to the member repository, and further and is also passed when loading relations that don't have a relationship called 'labels'.
- This results in a `labels is not defined on the model` error when you try to create a new member with a stripe customer id.
- Test that found this issue will be added to the Ghost repo.
2022-03-31 16:15:53 +02:00
..
domain-events Published new versions 2022-03-11 22:45:26 +01:00
express-dynamic-redirects Fixed adding same redirect multiple times throws an error on removal (#379) 2022-03-24 09:54:19 +01:00
magic-link Published new versions 2022-03-11 22:45:26 +01:00
member-analytics-service Published new versions 2022-03-11 22:45:26 +01:00
member-events Published new versions 2022-03-11 22:45:26 +01:00
members-analytics-ingress Published new versions 2022-03-11 22:45:26 +01:00
members-api Fixed 'labels is not defined on the model' error (#378) 2022-03-31 16:15:53 +02:00
members-csv Unpinned dependencies 2022-03-24 11:06:57 +00:00
members-events-service Unpinned dependencies 2022-03-24 11:06:57 +00:00
members-importer Unpinned dependencies 2022-03-24 11:06:57 +00:00
members-ssr Published new versions 2022-03-11 22:45:26 +01:00
offers Published new versions 2022-03-11 22:45:26 +01:00
payments Published new versions 2022-03-11 22:45:26 +01:00
stripe Unpinned dependencies 2022-03-24 11:06:57 +00:00
verification-trigger Published new versions 2022-03-11 22:45:26 +01:00