TASK22057: phase18 additional consolidation slices
This commit is contained in:
@@ -29,6 +29,19 @@ export default async function ApiProxy(req, res) {
|
||||
var updateFormCollection = req.query.updateFormCollection;
|
||||
var queryUrl = updateFormCollection + "(" + appealObj + ")";
|
||||
|
||||
if (
|
||||
typeof updateFormCollection === "undefined" ||
|
||||
updateFormCollection.length === 0 ||
|
||||
typeof appealObj === "undefined" ||
|
||||
appealObj.length === 0 ||
|
||||
typeof incidentID === "undefined" ||
|
||||
incidentID.length === 0 ||
|
||||
typeof req.body === "undefined" ||
|
||||
req.body === null
|
||||
) {
|
||||
return res.status(400).json();
|
||||
}
|
||||
|
||||
var token = await getToken();
|
||||
|
||||
var config = {
|
||||
|
||||
Reference in New Issue
Block a user