Merged PR 434: build fixes

fixed some build issues stopping deployment

Related work items: #5860
This commit is contained in:
Robert Bond
2021-09-14 14:06:37 +00:00
3 changed files with 2 additions and 19 deletions
@@ -76,7 +76,6 @@ let BuildCheckSection = (props) => {
props={props}
key={key}
mandatoryFieldsData={mandatoryFieldsData}
props={props}
/>
</>
))}
+1 -17
View File
@@ -15,22 +15,6 @@ import data from "../../data/collections.json";
let CompleteAppeal = (props) => {
// un comment to update incident with an appealtype id
useEffect(() => {
// console.log(props.appealType.caseReference.incidentid);
// console.log(props.appealType.appealTypeID);
// console.log(props.props.form.appealForm.values);
// console.log(updateBody);
// console.log(
// getFormCollection(
// "pinswg_" +
// props.appealType.caseReference[
// "pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
// ]
// .replace(/[\s\-\+\(\)\,\&\.]/g, "")
// .toLowerCase()
// )
// );
let incidentId = props.appealType.caseReference.incidentid;
let updateBody = props.props.form.appealForm.values;
@@ -52,7 +36,7 @@ let CompleteAppeal = (props) => {
);
updateCase(incidentId, updateBody, updateFormCollection);
}, []);
}, [props.appealType.caseReference, props.props.form.appealForm.values]);
const getFormCollection = (formtype) => {
const collectionName = jsonpath.query(
+1 -1
View File
@@ -51,7 +51,7 @@ const getSASToken = () => {
return token;
};
export default async function (req, res) {
export default async function ApiProxy(req, res) {
// console.log(req.method);
var updateBody = {