multiple file upload issues capped at 210mb for now
This commit is contained in:
@@ -32,18 +32,26 @@ ApiProxy.post(async (req, res) => {
|
||||
//createContainer(containerID).then((containerName) => {
|
||||
|
||||
console.log("does this get folder name:", containerID, casefolderID);
|
||||
|
||||
repOrAppeal
|
||||
? createRepBlob(appealData, containerID, casefolderID).then((data) => {
|
||||
Object.keys(req.files).length > 0 &&
|
||||
uploadFile(req.files, containerID, casefolderID);
|
||||
uploadFile(req.files, containerID, casefolderID).then(
|
||||
(data) => {
|
||||
return res.status(200).json({ data });
|
||||
}
|
||||
);
|
||||
})
|
||||
: createBlob(appealData, containerID, casefolderID).then((data) => {
|
||||
Object.keys(req.files).length > 0 &&
|
||||
uploadFile(req.files, containerID, casefolderID);
|
||||
uploadFile(req.files, containerID, casefolderID).then(
|
||||
(data) => {
|
||||
return res.status(200).json({ data });
|
||||
}
|
||||
);
|
||||
});
|
||||
//});
|
||||
|
||||
return res.status(200).json({ data: "success" });
|
||||
// } else {
|
||||
// return res.status(400).json();
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user