fixes for rep complete queue
This commit is contained in:
@@ -13,6 +13,7 @@ ApiProxy.use(middleware);
|
||||
ApiProxy.get(async (req, res) => {
|
||||
var containerName = req.query.container;
|
||||
var tempCaseRef = req.query.tempcaseref;
|
||||
var filename = req.query.repid;
|
||||
|
||||
console.log(
|
||||
"/////Create Rep complete Message:\n",
|
||||
@@ -24,9 +25,11 @@ ApiProxy.get(async (req, res) => {
|
||||
// console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
|
||||
//if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
await createRepCompleteMessage(containerName, tempCaseRef).then((data) => {
|
||||
return res.status(200).json(data);
|
||||
});
|
||||
await createRepCompleteMessage(containerName, tempCaseRef, filename).then(
|
||||
(data) => {
|
||||
return res.status(200).json(data);
|
||||
}
|
||||
);
|
||||
// } else {
|
||||
// return res.status(400).json();
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user