From d693f01e169a02314d356b706e2da9aadc2dc7b9 Mon Sep 17 00:00:00 2001 From: technowhizz <7688823+technowhizz@users.noreply.github.com> Date: Sun, 17 Mar 2024 01:06:54 +0000 Subject: [PATCH] Remove Jackett api key from widget The Jackett widget was using the api key in api requests however this is not necessary as the endpoint we use doesn't require it. If Jackett authentication is enabled then the password field should be used instead. --- docs/widgets/services/jackett.md | 1 - src/widgets/jackett/widget.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/widgets/services/jackett.md b/docs/widgets/services/jackett.md index a8c9d897a..696e2c316 100644 --- a/docs/widgets/services/jackett.md +++ b/docs/widgets/services/jackett.md @@ -13,6 +13,5 @@ Allowed fields: `["configured", "errored"]`. widget: type: jackett url: http://jackett.host.or.ip - key: jackettapikey password: JackettAdminPassword ``` diff --git a/src/widgets/jackett/widget.js b/src/widgets/jackett/widget.js index d2677b496..9f4bf8526 100644 --- a/src/widgets/jackett/widget.js +++ b/src/widgets/jackett/widget.js @@ -1,7 +1,7 @@ import credentialedProxyHandler from "utils/proxy/handlers/credentialed"; const widget = { - api: "{url}/api/v2.0/{endpoint}?apikey={key}&configured=true", + api: "{url}/api/v2.0/{endpoint}?configured=true", proxyHandler: credentialedProxyHandler, loginURL: "{url}/UI/Dashboard",