TASK22109: email api contract cleanup and phase21 coverage

This commit is contained in:
2026-03-17 14:23:42 +00:00
parent 864da9fe23
commit 6610e5c7f3
6 changed files with 195 additions and 10 deletions
-3
View File
@@ -1,6 +1,5 @@
import axios from "axios";
import CryptoJS from "crypto-js";
import _ from "lodash";
import { azureHeadersPaged } from "../../../actions/core/headers";
import { consoleLogger } from "../../../actions/core/logger";
import { getToken } from "../../../actions/core/token";
@@ -67,8 +66,6 @@ export default async function ApiProxy(req, res) {
const fullUrl = `${WEBAPI_URL}${query}${hashAPIPath(query)}`;
console.log("Querying documents from:", fullUrl);
const { data } = await axios.get(
fullUrl,
azureHeadersPaged(token.access_token)