Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit ff23cce

Browse files
authored
Merge pull request #643 from stuysu/restyled/readd-orgs-active
Restyle Readd active option to organization query
2 parents 2b8ab4f + 72de14d commit ff23cce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/graphql/resolvers/Query/organizations.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default async (root, args, context) => {
1010
meetingDays,
1111
limit,
1212
offset,
13-
active,
13+
active,
1414
randomOrderSeed
1515
} = args;
1616

@@ -22,9 +22,9 @@ export default async (root, args, context) => {
2222
include: []
2323
};
2424

25-
if (active) {
26-
filterParams.where.active = true;
27-
}
25+
if (active) {
26+
filterParams.where.active = true;
27+
}
2828

2929
if (!keyword && typeof randomOrderSeed === 'number' && isUsingMysql) {
3030
filterParams.order = [models.sequelize.fn('RAND', randomOrderSeed)];

0 commit comments

Comments
 (0)