Added PostData to reset functions
This commit is contained in:
parent
f50990dafb
commit
1ba49ddf08
@ -181,6 +181,7 @@ function UpdateKomga(komgaUrl, komgaAuth){
|
|||||||
|
|
||||||
function ResetKomga(){
|
function ResetKomga(){
|
||||||
var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Komga`;
|
var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Komga`;
|
||||||
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
function TestKomga(komgaUrl, komgaAuth){
|
function TestKomga(komgaUrl, komgaAuth){
|
||||||
@ -197,6 +198,7 @@ function UpdateKavita(kavitaUrl, kavitaUsername, kavitaPassword){
|
|||||||
|
|
||||||
function ResetKavita(){
|
function ResetKavita(){
|
||||||
var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Kavita`;
|
var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Kavita`;
|
||||||
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
function TestKavita(kavitaUrl, kavitaUsername, kavitaPassword){
|
function TestKavita(kavitaUrl, kavitaUsername, kavitaPassword){
|
||||||
@ -212,6 +214,7 @@ function UpdateGotify(gotifyUrl, gotifyAppToken){
|
|||||||
|
|
||||||
function ResetGotify(){
|
function ResetGotify(){
|
||||||
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Gotify`;
|
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Gotify`;
|
||||||
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
function TestGotify(gotifyUrl, gotifyAppToken){
|
function TestGotify(gotifyUrl, gotifyAppToken){
|
||||||
@ -227,6 +230,7 @@ function UpdateLunaSea(lunaseaWebhook){
|
|||||||
|
|
||||||
function ResetLunaSea(){
|
function ResetLunaSea(){
|
||||||
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=LunaSea`;
|
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=LunaSea`;
|
||||||
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
function TestLunaSea(lunaseaWebhook){
|
function TestLunaSea(lunaseaWebhook){
|
||||||
@ -242,6 +246,7 @@ function UpdateNtfy(ntfyEndpoint, ntfyAuth){
|
|||||||
|
|
||||||
function ResetNtfy(){
|
function ResetNtfy(){
|
||||||
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Ntfy`;
|
var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Ntfy`;
|
||||||
|
PostData(uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
function TestNtfy(ntfyEndpoint, ntfyAuth){
|
function TestNtfy(ntfyEndpoint, ntfyAuth){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user