Ghost/ghost/members-api
Rish d4488b5e59 🐛 Fixed incorrect mrr delta calculation
refs https://github.com/TryGhost/Team/issues/595

For a canceled subscription, the desired MRR delta is to reduce by negative of original amount, but our logic was incorrectly reducing it by double which led to big gap between real MRR and one shown on Dashboard.

- Fixes calculation for MRR change for canceled subscriptions
2021-04-06 18:42:55 +05:30
..
lib 🐛 Fixed incorrect mrr delta calculation 2021-04-06 18:42:55 +05:30
test Added tests for smart_cancel param 2021-03-30 10:36:17 +01:00
.eslintrc.js Added default test dir and eslintrc 2019-05-07 17:35:17 +02:00
.gitignore Refactor members-api (#231) 2021-01-18 13:55:40 +00:00
index.js Added tests for updateSubscription 2021-03-25 12:19:01 +00:00
package.json Update dependency ghost-ignition to v4.6.1 2021-03-31 14:45:04 +00:00