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

This commit is contained in:
2026-03-12 11:41:40 +00:00
parent 5822930f0a
commit 61913f9f80
11 changed files with 33 additions and 31 deletions
+6 -5
View File
@@ -3,9 +3,10 @@ import {
createContainerSas,
getContainers,
getBlobs,
uploadFile,
uploadFile
} from "../../../actions/azurestorage";
import { hashAPIPath, consoleLogger } from "../../../actions";
import { hashAPIPath } from "../../../actions/core/hash";
import { consoleLogger } from "../../../actions/core/logger";
import middleware from "../middleware/middleware";
import nextConnect from "next-connect";
@@ -34,7 +35,7 @@ ApiProxy.get(async (req, res) => {
consoleLogger({
name: "setupcontainer",
code: "bad hash",
query: JSON.stringify(req.query),
query: JSON.stringify(req.query)
});
return res.status(400).json();
}
@@ -42,8 +43,8 @@ ApiProxy.get(async (req, res) => {
export const config = {
api: {
bodyParser: false,
},
bodyParser: false
}
};
export default ApiProxy;