create product changes
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user