Ghost/ghost/members-api/lib
Naz 0e094b371b
Reused getDefaultProduct where possible
refs 82ed10473b
refs https://github.com/TryGhost/Team/issues/1869

- getDefaultProduct has unified logic across different places (see refed commit). It is recommended to use instead of writing custom queries prone to mistakes.
- Also added more readable name to the possible error message thrown by setComplimentarySubscription
2022-10-20 17:23:59 +08:00
..
controllers
repositories Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
services
MembersAPI.js