Ghost/ghost/members-api/test/unit/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/member Restricted changing Subscription to archived Tier 2022-01-21 14:08:31 +02:00
repositories Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
services Added test coverage for JWKS token verification 2022-05-23 17:59:33 +08:00
geolocation.test.js Refactor members-api (#231) 2021-01-18 13:55:40 +00:00