refactor phase 3a api-file chunk 1 targeted actions imports

This commit is contained in:
2026-03-12 11:38:18 +00:00
parent 2a3c7eac34
commit 5822930f0a
6 changed files with 30 additions and 26 deletions
+5 -3
View File
@@ -1,7 +1,9 @@
import axios from "axios";
import CryptoJS from "crypto-js";
import _ from "lodash";
import { getToken, azureHeadersPaged, consoleLogger } from "../../../actions";
import { azureHeadersPaged } from "../../../actions/core/headers";
import { consoleLogger } from "../../../actions/core/logger";
import { getToken } from "../../../actions/core/token";
import { getCaseBlob, createBlob } from "../../../actions/azurestorage";
import { getTempCaseRef } from "../../../components/utils";
import { v4 as uuidv4 } from "uuid";
@@ -44,7 +46,7 @@ export default async function ApiProxy(req, res) {
"servicestage": 1,
"customerid_contact@odata.bind": "/contacts(" + contactid + ")",
"pinswg_appealcasetype": appealTypeId,
"pinswg_AssociatedLPA@odata.bind": "/accounts(" + lpaID + ")",
"pinswg_AssociatedLPA@odata.bind": "/accounts(" + lpaID + ")"
};
var newData = Object.assign(data, createCaseBody);
@@ -56,7 +58,7 @@ export default async function ApiProxy(req, res) {
var newAppealObj = {
"pinswg_name": tempCaseRef,
"pinswg_appealcasetype": appealTypeId,
"_pinswg_associatedlpa_value": lpaID,
"_pinswg_associatedlpa_value": lpaID
};
// var config = {