2
0

Fix wrong taskNames

This commit is contained in:
glax 2023-06-22 22:52:26 +02:00
parent c3342984ea
commit a16686dfbf
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ async function GetRunningTasks(){
} }
async function GetDownloadTasks(){ async function GetDownloadTasks(){
var uri = apiUri + "/Tasks?taskType=DownloadNewChapters"; var uri = apiUri + "/Tasks?taskType=MonitorPublication";
let json = await GetData(uri); let json = await GetData(uri);
return json; return json;
} }

View File

@ -201,7 +201,7 @@ function DeleteTaskClick(){
function StartTaskClick(){ function StartTaskClick(){
var toEditTask = tasks.filter(task => task.publication.internalId == toEditId)[0]; var toEditTask = tasks.filter(task => task.publication.internalId == toEditId)[0];
StartTask("DownloadNewChapters", toEditTask.connectorName, toEditId); StartTask("MonitorPublication", toEditTask.connectorName, toEditId);
HidePublicationPopup(); HidePublicationPopup();
} }