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

This commit is contained in:
2026-03-12 11:46:06 +00:00
parent 61913f9f80
commit be59237ec9
3 changed files with 15 additions and 17 deletions
+6 -6
View File
@@ -82,9 +82,9 @@ import {
downloadProgressFile,
getProgressBlobs,
getTempCaseBlob,
createAppealPDFBlob,
createAppealPDFBlob
} from "../../../actions/azurestorage";
import { hashAPIPath } from "../../../actions";
import { hashAPIPath } from "../../../actions/core/hash";
import ReactPDF, {
Document,
@@ -92,13 +92,13 @@ import ReactPDF, {
Text,
View,
StyleSheet,
PDFViewer,
PDFViewer
} from "@react-pdf/renderer";
import middleware from "../middleware/middleware";
import nextConnect from "next-connect";
import fs from "fs";
import path from "path";
import { getPickLists } from "../../../actions";
import { getPickLists } from "../../../actions/services/referenceDataService";
import { planningappeals78_pdf } from "../../../components/pdftemplates/planningappeals78_pdf";
import { finalComments_pdf } from "../../../components/pdftemplates/finalComments_pdf";
import { statement_pdf } from "../../../components/pdftemplates/statement_pdf";
@@ -165,7 +165,7 @@ export default async function handler(req, res) {
Object.assign(blobProgress, {
"filesList": uniqueArray,
"caseObj": tempCaseBlob,
"caseObj": tempCaseBlob
});
const pickListData = await getPickLists(appealType);
@@ -208,7 +208,7 @@ export default async function handler(req, res) {
return res.status(200).json({
status: "success",
data: data,
path: `/files/${pdfFileName}.pdf`,
path: `/files/${pdfFileName}.pdf`
});
});
}