0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Removed "Complimentary" subscription edit limitation

no issue

- There is no need to treat complimentary subscriptions in different way to regular subscription on the client.
This commit is contained in:
Nazar Gargol 2020-02-17 16:25:41 +08:00
parent cf6b9501ca
commit 13773cbeb4

View file

@ -292,11 +292,6 @@ module.exports = function MembersApi({
return res.end('No permission');
}
if (subscription.plan.nickname === 'Complimentary') {
res.writeHead(400);
return res.end('Bad request');
}
if (cancelAtPeriodEnd === undefined) {
throw new common.errors.BadRequestError({
message: 'Canceling membership failed!',