today coverage ready
This commit is contained in:
@@ -301,12 +301,14 @@ query listShiftRolesByBusinessAndDateRange(
|
||||
$end: Timestamp!
|
||||
$offset: Int
|
||||
$limit: Int
|
||||
$status: ShiftStatus
|
||||
) @auth(level: USER) {
|
||||
shiftRoles(
|
||||
where: {
|
||||
shift: {
|
||||
date: { ge: $start, le: $end }
|
||||
order: { businessId: { eq: $businessId } }
|
||||
status: { eq: $status }
|
||||
}
|
||||
}
|
||||
offset: $offset
|
||||
|
||||
Reference in New Issue
Block a user