deleting few values of shift enum
This commit is contained in:
@@ -254,7 +254,7 @@ query listShiftRolesByVendorId(
|
||||
shiftRoles(
|
||||
where: {
|
||||
shift: {
|
||||
status: {in: [IN_PROGRESS, CONFIRMED, ASSIGNED, OPEN, PENDING]} #IN_PROGRESS? PENDING?
|
||||
status: {in: [IN_PROGRESS, ASSIGNED, OPEN]} #IN_PROGRESS?
|
||||
order: {
|
||||
vendorId: { eq: $vendorId }
|
||||
}
|
||||
@@ -511,7 +511,7 @@ query getCompletedShiftsByBusinessId(
|
||||
shifts(
|
||||
where: {
|
||||
order: { businessId: { eq: $businessId } }
|
||||
status: {in: [IN_PROGRESS, CONFIRMED, COMPLETED, OPEN]}
|
||||
status: {in: [IN_PROGRESS, COMPLETED, OPEN]}
|
||||
date: { ge: $dateFrom, le: $dateTo }
|
||||
}
|
||||
offset: $offset
|
||||
|
||||
Reference in New Issue
Block a user