Merge branch 'branch-v2' of http://185.100.212.76:7776/Dwinzo/Dwinzo-Backend into branch-v2

This commit is contained in:
2025-05-29 19:11:47 +05:30
5 changed files with 670 additions and 68 deletions

View File

@@ -5,7 +5,7 @@ import EventsDataModel from "../../../shared/model/simulation/eventsDataModel.ts
export class ProductFlowservice {
static async productAdd(req: Request, res: Response): Promise<any> {
try {
const { productName, productId, eventDatas, organization } = req.body;
const { productName, productId, , organization } = req.body;
if (!organization) {
return res.json({ message: "organization not found" });
}