diff --git a/Website/apiConnector.js b/Website/apiConnector.js index f3aec41..43276b1 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -191,4 +191,10 @@ function RemoveJob(jobId){ function CancelJob(jobId){ var uri = `${apiUri}/Jobs/Cancel?jobId=${jobId}`; PostData(uri); +} + +async function GetLogmessages(count){ + var uri = `${apiUri}/LogMessages?count=${count}`; + let json = await GetData(uri); + return json; } \ No newline at end of file