schedule is now published to be visible to the public
This commit is contained in:
@ -90,6 +90,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||
const shifts = await prisma.shift.findMany({
|
||||
where: {
|
||||
isActive: true,
|
||||
isPublished: true,
|
||||
startTime: {
|
||||
gte: fromDate,
|
||||
lt: toDate,
|
||||
|
Reference in New Issue
Block a user