fixes for rep complete queue

This commit is contained in:
2024-05-02 16:19:46 +01:00
parent 0f3d20ca80
commit 46582d761c
7 changed files with 190 additions and 67 deletions
@@ -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();
// }