Added employee email validation IO-421
This commit is contained in:
@@ -59,3 +59,11 @@ export const DELETE_EMPLOYEE = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const QUERY_USERS_BY_EMAIL = gql`
|
||||
query QUERY_USERS_BY_EMAIL($email: String!) {
|
||||
users(where: { email: { _ilike: $email } }) {
|
||||
email
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user