Ghost/ghost/members-api/lib/repositories
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
..
event.js Added post_id filter and total to activity feed API (#15650) 2022-10-18 15:52:04 +02:00
member.js Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
product.js Added 'getDefaultProduct' convenience method to product repo 2022-10-20 17:19:52 +08:00