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:
parent
cf6b9501ca
commit
13773cbeb4
1 changed files with 0 additions and 5 deletions
|
@ -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!',
|
||||
|
|
Loading…
Add table
Reference in a new issue