Skip to content

Commit

Permalink
feat: Case-less matching for user email
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Oct 12, 2023
1 parent d022ae3 commit 61d26e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/account/accountService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ export const checkUserInProject = async (
) => {
const existQuery = graphql(`
query userExistsInProject($email: String!, $project: String!) {
userExists: users(email: $email) {
userExists: users(email_Iexact: $email) {
edges {
node {
...userFields
}
}
}
userInProject: users(project: $project, email: $email) {
userInProject: users(project: $project, email_Iexact: $email) {
totalCount
}
}
Expand Down

0 comments on commit 61d26e5

Please sign in to comment.