diff --git a/dataconnect/connector/event/queries.gql b/dataconnect/connector/event/queries.gql index c8c1c98b..3fe4233e 100644 --- a/dataconnect/connector/event/queries.gql +++ b/dataconnect/connector/event/queries.gql @@ -35,6 +35,7 @@ query listEvents @auth(level: USER) { notes requested assignedStaff + createdBy } } @@ -143,5 +144,6 @@ query filterEvents( notes requested assignedStaff + createdBy } } diff --git a/dataconnect/connector/user/queries.gql b/dataconnect/connector/user/queries.gql index 417860bf..d761fdc6 100644 --- a/dataconnect/connector/user/queries.gql +++ b/dataconnect/connector/user/queries.gql @@ -23,12 +23,14 @@ query getUserById( } query filterUsers( + $id: String, $email: String, $role: UserBaseRole, $userRole: String ) @auth(level: USER) { users( where: { + id: { eq: $id } email: { eq: $email } role: { eq: $role } userRole: { eq: $userRole }