reps for dns

This commit is contained in:
2024-05-23 18:02:56 +01:00
parent 8fad2208f6
commit 30ee6f02d7
6 changed files with 103 additions and 32 deletions
@@ -15,18 +15,19 @@ ApiProxy.get(async (req, res) => {
var tempCaseRef = req.query.tempcaseref;
var filename = req.query.repid;
console.log(
"/////Create Rep complete Message:\n",
tempCaseRef,
"\n//////////////"
);
// console.log(hashAPIPath(checkquerypath), checkHash);
// console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
//if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
await createRepCompleteMessage(containerName, tempCaseRef, filename).then(
(data) => {
console.log(
"/////Create Rep complete Message:\n" + tempCaseRef,
"\n" + "insertedOn:" + data.insertedOn,
"\n" + "messageId:" + data.messageId,
"\n" + "response.status:" + data._response.status,
"\n//////////////"
);
return res.status(200).json(data);
}
);