project ,trash events create in socket

This commit is contained in:
2025-06-02 09:47:33 +05:30
parent 2a7d465424
commit efe986502d
9 changed files with 229 additions and 50 deletions

View File

@@ -146,7 +146,7 @@ export const DeleteTrashData = async (
message: "Project Already Deleted",
});
break;
case "Trash Project Delete successfully":
case "Success":
res.status(200).json({
message: "Trash Project Delete successfully",
});

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, organization } = req.body;
const { productName, productId,eventDatas, organization } = req.body;
if (!organization) {
return res.json({ message: "organization not found" });
}