|
|
@ -8862,7 +8862,7 @@ exports.assignCategorizeIssue = async (request, reply) => {
|
|
|
|
const { supportId } = request.params;
|
|
|
|
const { supportId } = request.params;
|
|
|
|
const { support_teamMemberId, category, masterHardwareId } = request.body;
|
|
|
|
const { support_teamMemberId, category, masterHardwareId } = request.body;
|
|
|
|
|
|
|
|
|
|
|
|
if (!support_teamMemberId || !startDate || !endDate || !category || !masterHardwareId) {
|
|
|
|
if (!support_teamMemberId || !category || !masterHardwareId) {
|
|
|
|
return reply.code(400).send({ error: 'support_teamMemberId, startDate, endDate, category, and masterHardwareId are required' });
|
|
|
|
return reply.code(400).send({ error: 'support_teamMemberId, startDate, endDate, category, and masterHardwareId are required' });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|