Skip to content

Commit

Permalink
Merge pull request #12 from fschrempf/feature/misc-improvements
Browse files Browse the repository at this point in the history
ctservice.test.js: Fix getGroupMemberships()
  • Loading branch information
fschrempf authored Oct 20, 2023
2 parents 61995a5 + b1c982b commit 808ddd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exports.getPersonsInGroups = async (site) => {
exports.getGroupMemberships = async (groupIds, site) => {
const members = [];

if (groupIds != null || groupIds.length) {
if (groupIds == null || !groupIds.length) {
const result = await getGroupsPaginated(
null,
c.GROUPMEMBERS_AP,
Expand Down

0 comments on commit 808ddd9

Please sign in to comment.