delete reps on dash
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { hashAPIPath } from "../../../actions";
|
||||
import { deleteBlobCase } from "../../../actions/azurestorage";
|
||||
import { deleteBlobCase, deleteBlobRep } from "../../../actions/azurestorage";
|
||||
|
||||
import nextConnect from "next-connect";
|
||||
import middleware from "../middleware/middleware";
|
||||
@@ -28,7 +28,7 @@ ApiProxy.get(async (req, res) => {
|
||||
// console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
|
||||
//if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
await deleteBlobCase(containerName, casefolderID).then((data) => {
|
||||
await deleteBlobRep(containerName, casefolderID).then((data) => {
|
||||
return res.status(200).json({ data: data });
|
||||
});
|
||||
// } else {
|
||||
|
||||
Reference in New Issue
Block a user