From 1ba49ddf08ee521316213644cf3359c940df1e65 Mon Sep 17 00:00:00 2001 From: db-2001 Date: Sun, 4 Feb 2024 16:02:09 -0500 Subject: [PATCH] Added PostData to reset functions --- Website/apiConnector.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Website/apiConnector.js b/Website/apiConnector.js index 70e6a7c..87db089 100644 --- a/Website/apiConnector.js +++ b/Website/apiConnector.js @@ -181,6 +181,7 @@ function UpdateKomga(komgaUrl, komgaAuth){ function ResetKomga(){ var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Komga`; + PostData(uri); } function TestKomga(komgaUrl, komgaAuth){ @@ -197,6 +198,7 @@ function UpdateKavita(kavitaUrl, kavitaUsername, kavitaPassword){ function ResetKavita(){ var uri = `${apiUri}/LibraryConnectors/Reset?libraryConnector=Kavita`; + PostData(uri); } function TestKavita(kavitaUrl, kavitaUsername, kavitaPassword){ @@ -212,6 +214,7 @@ function UpdateGotify(gotifyUrl, gotifyAppToken){ function ResetGotify(){ var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Gotify`; + PostData(uri); } function TestGotify(gotifyUrl, gotifyAppToken){ @@ -227,6 +230,7 @@ function UpdateLunaSea(lunaseaWebhook){ function ResetLunaSea(){ var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=LunaSea`; + PostData(uri); } function TestLunaSea(lunaseaWebhook){ @@ -242,6 +246,7 @@ function UpdateNtfy(ntfyEndpoint, ntfyAuth){ function ResetNtfy(){ var uri = `${apiUri}/NotificationConnectors/Reset?libraryConnector=Ntfy`; + PostData(uri); } function TestNtfy(ntfyEndpoint, ntfyAuth){