refactor(db-schema): group.isSubscribed() method name changed to group.hasActiveGroupPlan()

This commit is contained in:
hamboomger
2020-03-26 19:31:07 +02:00
parent e4661c3763
commit 00d12e83bd
7 changed files with 19 additions and 17 deletions

View File

@@ -1315,7 +1315,7 @@ api.getGroupPlans = {
.select('leaderOnly leader purchased name managers')
.exec();
const groupPlans = groups.filter(group => group.isSubscribed());
const groupPlans = groups.filter(group => group.hasActiveGroupPlan());
res.respond(200, groupPlans);
},