mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
refactor(db-schema): group.isSubscribed() method name changed to group.hasActiveGroupPlan()
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user