create product changes

This commit is contained in:
2025-05-08 12:02:25 +05:30
parent e9eda96875
commit e7632afad6

View File

@@ -65,10 +65,7 @@ export class productFlowservice {
}) })
if (newProduct) { if (newProduct) {
if (!eventDatas) { if (eventDatas) {
return res.status(404).json({ message: "eventData not found" });
} else {
const addEventData = await EventsDataModel(organization).create({ const addEventData = await EventsDataModel(organization).create({
productId: productId, productId: productId,
modelUuid: eventDatas?.modelUuid, modelUuid: eventDatas?.modelUuid,