allowed partial awaiting submission be submitted

This commit is contained in:
2022-01-25 13:19:01 +00:00
parent 5ffe88e4e3
commit a636dd549f
5 changed files with 540 additions and 5 deletions
+3 -1
View File
@@ -21,7 +21,7 @@ const hashAPIPath = (queryPath) => {
};
export default async function ApiProxy(req, res) {
var data = JSON.stringify(req.body);
var data = req.body;
var appealObj = req.query.appealObj;
var incidentID = req.query.incident;
@@ -44,6 +44,8 @@ export default async function ApiProxy(req, res) {
data: data,
};
console.log("update case:", data);
return axios(config)
.then(({ data }) => {
res.status(200).json(data);