Skip to content

Commit 7f25c61

Browse files
committed
Better group checks
1 parent 2288b81 commit 7f25c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/challenge-helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ class ChallengeHelper {
8989
promises.push(
9090
(async () => {
9191
const group = await helper.getGroupById(g);
92-
const status = _.toLower(_.get(group, "status"));
93-
if (!group || status !== "active") {
92+
console.log("group", group);
93+
if (!group) {
9494
throw new errors.BadRequestError("The groups provided are invalid " + g);
9595
}
9696
})()

0 commit comments

Comments
 (0)