Set Interval for MonitorJob to 3 hrs
Added function to retrieve Cover-Url
This commit is contained in:
parent
d9ec9cb969
commit
4bad1b6382
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user