Added returned type to python backend and frontend

This commit is contained in:
2023-04-19 10:00:46 +02:00
parent 0946982ab6
commit 8c58c493be
3 changed files with 4 additions and 4 deletions

View File

@@ -244,7 +244,7 @@ function performRequest(endpoint, checkXML, checkTransform) {
if (!empty) {
restRequest(port, endpoint, xmlData, transformData).then(function (result) {
document.getElementById("resultArea").value = result.result;
document.getElementById("procinfo").innerText = ' Computed using '.concat(" ", result.processor);
document.getElementById("procinfo").innerText = ' Computed using '.concat(" ", result.processor, ". Returned: ", result.type);
if (result.status = "OK") {
document.getElementById("procinfo").innerText = document.getElementById("procinfo").innerText.concat(" in ", result.time, "ms");
procinfo.style.color = "#30aa58";