added proxy updting case to avoid cors and be SSR
This commit is contained in:
@@ -33,6 +33,10 @@ let CompleteAppeal = (props) => {
|
||||
|
||||
let incidentId = props.appealType.caseReference.incidentid;
|
||||
let updateBody = props.props.form.appealForm.values;
|
||||
|
||||
Object.assign(updateBody, {
|
||||
"pinswg_name": props.appealType.caseReference.ticketnumber,
|
||||
});
|
||||
updateBody = JSON.stringify(updateBody);
|
||||
|
||||
updateBody = updateBody.replace(/:"Yes"/gm, `:true`);
|
||||
|
||||
Reference in New Issue
Block a user