Complete rewrite #2

Merged
glax merged 30 commits from cuttingedge into master 2023-09-19 17:02:12 +02:00
Showing only changes of commit 4bad1b6382 - Show all commits

View File

@ -69,6 +69,10 @@ async function GetChapters(connector, internalId){
return json;
}
function GetCoverUrl(internalId){
return `${apiUri}/Manga/Cover?internalId=${internalId}`;
}
async function GetAllJobs(){
var uri = `${apiUri}/Jobs`;
let json = await GetData(uri);
@ -129,8 +133,8 @@ async function GetLibraryConnectors(){
return json;
}
function CreateMonitorJob(connector, internalId, interval){
var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=${interval}`;
function CreateMonitorJob(connector, internalId){
var uri = `${apiUri}/Jobs/MonitorManga?connector=${connector}&internalId=${internalId}&interval=03:00:00`;
PostData(uri);
}