remove unused imports

This commit is contained in:
2024-06-19 06:32:38 +01:00
parent e4a1903b48
commit b0e2bb6e14
263 changed files with 1458 additions and 2693 deletions
+3 -1
View File
@@ -4,7 +4,7 @@ import {
getBlobs,
uploadFile,
} from "../../../actions/azurestorage";
import { hashAPIPath } from "../../../actions";
import { hashAPIPath, consoleLogger } from "../../../actions";
import middleware from "../middleware/middleware";
import nextConnect from "next-connect";
@@ -23,9 +23,11 @@ ApiProxy.get(async (req, res) => {
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
await createContainer(containerName)
.then((data) => {
//console.log("has response:", data);
return res.status(200).json({ data: "success" });
})
.catch((err) => {
console.log(err);
console.log(consoleLogger(err));
res.status(400).json(err);
});