solving problems for missing data in the from
This commit is contained in:
@@ -35,6 +35,7 @@ query listEvents @auth(level: USER) {
|
||||
notes
|
||||
requested
|
||||
assignedStaff
|
||||
createdBy
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,5 +144,6 @@ query filterEvents(
|
||||
notes
|
||||
requested
|
||||
assignedStaff
|
||||
createdBy
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user