Skip to content

Commit

Permalink
refactor(): revert back to OR
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinPerry committed Aug 22, 2024
1 parent 5ead8d7 commit 10783b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sites/src/get-members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function authenticatedGetMembers(
const chunkedOptions = chunkedUsernames.map((chunk) => {
const filter = chunk
.map((username) => `username:"${username}"`)
.join(" AND ");
.join(" OR ");
return {
urlPath,
requestOptions: {
Expand Down
2 changes: 1 addition & 1 deletion packages/sites/test/get-members.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe("getMembers", function () {
params: {
filter: `${usernames
.map((username) => `username:${username}`)
.join(" AND ")}`,
.join(" OR ")}`,
num: 2,
},
...requestOptions,
Expand Down

0 comments on commit 10783b5

Please sign in to comment.