TASK22109: expand email contract coverage and logging hygiene

This commit is contained in:
2026-03-17 14:28:22 +00:00
parent 6610e5c7f3
commit d17f3a11d2
4 changed files with 131 additions and 14 deletions
-4
View File
@@ -1,6 +1,4 @@
import axios from "axios";
import CryptoJS from "crypto-js";
import _ from "lodash";
import { azureHeaders } from "../../../actions/core/headers";
import { consoleLogger } from "../../../actions/core/logger";
import { getToken } from "../../../actions/core/token";
@@ -35,8 +33,6 @@ export default async function ApiProxy(req, res) {
azureHeaders(token.access_token)
)
.then(({ data }) => {
var dataStr;
const flattenedResults = data.value.map(flattenWatchlistEntry);
return respondSuccess(res, flattenedResults);