project ,trash events create in socket
This commit is contained in:
@@ -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",
|
||||
});
|
||||
|
||||
@@ -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" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user