console log tidying
This commit is contained in:
@@ -48,24 +48,24 @@ ApiProxy.get(async (req, res) => {
|
||||
var checkHash = req.query.hash;
|
||||
var checkquerypath = "/api/file/getrepsblob?container=" + containerName;
|
||||
|
||||
// console.log("-----", casefolderID);
|
||||
// console.log("-----", req.query);
|
||||
// console.log("-----", checkquerypath);
|
||||
// console.log("-----", hashAPIPath(checkquerypath));
|
||||
// console.log("-----", checkHash);
|
||||
// console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
//console.log("-----", casefolderID);
|
||||
//console.log("-----", req.query);
|
||||
//console.log("-----", checkquerypath);
|
||||
//console.log("-----", hashAPIPath(checkquerypath));
|
||||
//console.log("-----", checkHash);
|
||||
//console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
|
||||
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
const blobObj = await getRepsBlobs(containerName, casefolderID)
|
||||
.then(async (data) => {
|
||||
console.log(
|
||||
"\n////////////////////////////\n getRepsBlobs:",
|
||||
data
|
||||
);
|
||||
//console.log(
|
||||
// "\n////////////////////////////\n getRepsBlobs:",
|
||||
// data
|
||||
// );
|
||||
return data;
|
||||
})
|
||||
.then(async (data) => {
|
||||
console.log("\n////////////////////////////\n now here:", data);
|
||||
//console.log("\n////////////////////////////\n now here:", data);
|
||||
|
||||
let result = await downloadAllRepsFiles(containerName, data);
|
||||
|
||||
@@ -75,11 +75,11 @@ ApiProxy.get(async (req, res) => {
|
||||
.json(result);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(
|
||||
"///////////////////////\ngetRepsFromBlob api in api route response: " +
|
||||
error +
|
||||
"\n///////////////////////\n"
|
||||
);
|
||||
//console.log(
|
||||
// "///////////////////////\ngetRepsFromBlob api in api route response: " +
|
||||
// error +
|
||||
// "\n///////////////////////\n"
|
||||
// );
|
||||
//console.log("API call error", error);
|
||||
|
||||
console.log(consoleLogger(error));
|
||||
|
||||
Reference in New Issue
Block a user