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 (!eventDatas) {
return res.status(404).json({ message: "eventData not found" });
} else {
if (eventDatas) {
const addEventData = await EventsDataModel(organization).create({
productId: productId,
modelUuid: eventDatas?.modelUuid,