mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-12 23:07:54 +02:00
Add API call logmessages
This commit is contained in:
@ -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;
|
||||
}
|
Reference in New Issue
Block a user