product changes
This commit is contained in:
@@ -5,7 +5,7 @@ import EventsDataModel from "../../../shared/model/simulation/eventsDataModel.ts
|
|||||||
export class ProductFlowservice {
|
export class ProductFlowservice {
|
||||||
static async productAdd(req: Request, res: Response): Promise<any> {
|
static async productAdd(req: Request, res: Response): Promise<any> {
|
||||||
try {
|
try {
|
||||||
const { productName, productId, , organization } = req.body;
|
const { productName, productId, organization } = req.body;
|
||||||
if (!organization) {
|
if (!organization) {
|
||||||
return res.json({ message: "organization not found" });
|
return res.json({ message: "organization not found" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user