product service functionality completed

This commit is contained in:
2025-05-29 17:05:34 +05:30
parent 72faf6782e
commit 11d38e645f
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" });
}