From a87a6679bdc7527d5cb426573b8aefd4b04b6b5d Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 12 Sep 2020 21:43:43 -0700 Subject: Also include growth groups. --- src/main/java/com/p4square/groupsindexer/SyncGroups.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/com/p4square/groupsindexer/SyncGroups.java b/src/main/java/com/p4square/groupsindexer/SyncGroups.java index 853be58..fea79fb 100644 --- a/src/main/java/com/p4square/groupsindexer/SyncGroups.java +++ b/src/main/java/com/p4square/groupsindexer/SyncGroups.java @@ -96,8 +96,10 @@ public class SyncGroups implements RequestHandler { continue; } - if (!profile.getGroupType().getName().contains("Community")) { - LOG.info("Skipping non-Community group " + profile.getName()); + if (!(profile.getGroupType().getName().contains("Community") || + profile.getGroupType().getName().contains("Growth"))) + { + LOG.info("Skipping non-Community/Growth group " + profile.getName()); continue; } -- cgit v1.2.3