fix: unable to update host schedules (#17649)

This commit is contained in:
Anik Dhabal Babu
2024-11-14 15:37:19 -05:00
committed by GitHub
parent 039a0b7a85
commit 7246fa4084
@@ -316,6 +316,7 @@ export const updateHandler = async ({ ctx, input }: UpdateOptions) => {
isFixed: data.schedulingType === SchedulingType.COLLECTIVE || host.isFixed,
priority: host.priority ?? 2,
weight: host.weight ?? 100,
scheduleId: host.scheduleId ?? null,
},
})),
};