Skip to content

Commit

Permalink
fix: reset exists check at the end of the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Sep 8, 2023
1 parent 35629b1 commit 4a0eb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/api/src/resources/organization/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ export const getUsersByOrganizationId: ResolverFn = async (
}
}
members.push(groupMembers[member].user)
exists = false
}
exists = false
}
}
return members.map(row => ({ ...row, organization: args.organization }));
Expand Down

0 comments on commit 4a0eb96

Please sign in to comment.