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
+4 -3
View File
@@ -1,6 +1,7 @@
import axios from "axios";
import CryptoJS from "crypto-js";
import { getToken } from "../../../actions";
import { consoleLogger } from "../../../actions/core/logger";
import { getToken } from "../../../actions/core/token";
const WORDKEY = process.env.HASHKEY;
@@ -39,9 +40,9 @@ export default async function ApiProxy(req, res) {
"Accept": "application/json",
"Prefer": 'odata.include-annotations="*",return=representation',
"Authorization": "Bearer " + token.access_token,
"Content-Type": "application/json",
"Content-Type": "application/json"
},
data: data,
data: data
};
//console.log("update case:", data);