Change RO number to jobid.

This commit is contained in:
Patrick Fic
2022-05-04 18:13:21 -07:00
parent 05a8c90f03
commit 7754dc4653
10 changed files with 40 additions and 36 deletions

View File

@@ -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 {