Ghost/ghost/members-api
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
..
lib Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
test Reused getDefaultProduct where possible 2022-10-20 17:23:59 +08:00
.eslintrc.js
.gitignore
index.js
package.json Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00