Change RO number to jobid.
This commit is contained in:
@@ -5,8 +5,8 @@ export default function ValidateJobBasedRequest(
|
||||
res: Response,
|
||||
next: NextFunction
|
||||
) {
|
||||
const ro_number: string = (req.body.ro_number || "").trim();
|
||||
if (ro_number === "") {
|
||||
const jobid: string = (req.body.jobid || "").trim();
|
||||
if (jobid === "") {
|
||||
res.status(400).json({ error: "No RO Number has been specified." });
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user